7
Answers

NP119 value types & reference types

Maha

Maha

16y
2.9k
1

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)