Difference between value type and reference type
Ask by Anonymous User
Updated 24 Sep 2020
Value type
It store within stack memory.
The example of reference type are Structure,all primitive data type except string and enum.
Reference type
reference type store within heap memory.
Class, string, array, delegate, interface is the example of reference type.