[Help] What are the fundamental differences between value types and reference...

0 views
Skip to first unread message

Narsimha

unread,
Jun 22, 2009, 12:56:23 PM6/22/09
to st_marys_m...@googlegroups.com

What are the fundamental differences between value types and reference types? 

The value of value types are stored on the managed stack, and can be used directly. This means that the value is stored, and not a reference to the value. This also means that each value type has its own copy of the data. Reference Types on the other hand has a reference to the data, and several variables can reference the same data.

 

 


--
Posted By Narsimha to Help at 6/22/2009 10:25:00 PM
Reply all
Reply to author
Forward
0 new messages