Glossary:Definition - Boxing

Microsoft .NET Framework, ASP.NET, Visual C# (CSharp, C Sharp, C-Sharp) Developer Training, Visual Studio


Jump to: navigation, search
 Term Boxing
 Definition  Converting a value type to a reference type object. A value type is stored on stack memory and requires conversion—boxing—to an object on the heap memory before it can be treated as an object. The members of the new object can be invoked on the value, e.g., converting a double to a string. Boxing may be performed implicitly at runtime by the CLR.
 See also Unboxing
This C# Online.NET definition is from the Glossary of .NET / C# Terms.

Glossary of .NET / C# Terms
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 0-9
edit

Personal tools