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.
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.