Maha

Maha

  • NA
  • 0
  • 328.2k

NP119 value types & reference types

Aug 11 2008 1:14 PM

Hi Guys

 

NP119 value types & reference types

 

http://www.c-sharpcorner.com/UploadFile/rmcochran/csharp_memory01122006130034PM/csharp_memory.aspx

 

Above website says that Value Types and Pointers (Reference) always go where they were declared

 

http://www.expresscomputeronline.com/20021111/techspace2.shtml

 

This website says that variables of value type are allocated on stack.

 

I wish to know really what is happing. Please explain.

 

Thank you


Answers (7)