1.

Difference Between Value And Reference Type. What Are Value Types And Reference Types?

Answer»

Value type - bool, byte, chat, decimal, DOUBLE, enum , FLOAT, int, LONG, sbyte, SHORT, strut, uint, ulong, USHORT
Value types are stored in the Stack
Reference type - class, delegate, interface, object, string
Reference types are stored in the Heap

Value type - bool, byte, chat, decimal, double, enum , float, int, long, sbyte, short, strut, uint, ulong, ushort
Value types are stored in the Stack
Reference type - class, delegate, interface, object, string
Reference types are stored in the Heap



Discussion

No Comment Found