Boxing and Unboxing Are you moving? Need a rental truck? Oh, you’re talking about “Boxing” as in converting value types to reference types. An example of boxing: 'Implicit boxing VB Dim x as Int16 = 5 Dim obj as Object = x //Implicit boxing C# Int16 x = 5; object obj = x; 'Explicit...
Entries tagged 'boxing' ↓
Boxing and Unboxing
Monday, February 08 2010 - .Net