Export (0) Print
Expand All

4.3 Boxing and unboxing

Visual Studio .NET 2003

The concept of boxing and unboxing is central to C#'s type system. It provides a bridge between value-types and reference-types by permitting any value of a value-type to be converted to and from type object. Boxing and unboxing enables a unified view of the type system wherein a value of any type can ultimately be treated as an object.

© 2014 Microsoft