13 August 2012

Value Type vs Reference Type


Value TypesReference Types
All numeric data types.String.
Boolean, Char, and Date.All arrays, even if their elements are value types.
All structures, even if their members are reference types.Class types.
Enumerations, since their underlying type is always SByte, Short, Integer, Long, Byte, UShort, UInteger, or ULong.Delegates.

No comments: