Differences between Value and Reference Types
Printable View
Differences between Value and Reference Types
[QUOTE=duggusrujankumar;25084]Differences between Value and Reference Types[/QUOTE]
Hi,
A basic difference between value types and reference types is that an instance of a value type has its value allocated on the stack, while an instance of a reference type has only a reference to its actual value allocated on the stack. The value itself is allocated on the heap.
Regards,
Vikas Vaidya
[Please mark it as thanks if u got ur answer]