This documentation is archived and is not being maintained.

Boxing and Unboxing

Boxing and unboxing enable value types to be treated as objects. Value types, including both struct types and built-in types, such as int, can be converted to and from the type object.

See Also

Reference Types | Value Types