ECMA-334 C# Language Specification13.1.5: Boxing conversions |
A boxing conversion permits any value-type
to be implicitly converted to the type object or to any interface-type
implemented by the value-type
. Boxing a value of a value-type
consists of allocating an object instance and copying the value-type
value into that instance.
Boxing conversions are described further in 11.3.1.