Boxing and Unboxing

Boxing is the process of converting a value type such as a structure into an object or a reference type. Unboxing is the opposite the opposite process and converts reference types to value types.   Example 1 demonstrates boxing. namespace BoxingAndUnboxingDemo { struct MyStruct Read more