C# Type System contains three Types , they are Value Types , Reference Types and Pointer Types. C# allows us to convert a Value Type to a Reference Type, and back again to Value Types . The operation of Converting a Value Type to a Reference Type is called Boxing and the reverse operation is called Unboxing.
int Value1 = 1; Object Object1 = Value1; //Boxing
int i = (int)Object1; //Unboxing
Liked By
Write Answer
What is Boxing and Unboxing type conversion?
Join MindStick Community
You have need login or register for voting of answers or question.
Anupam Mishra
26-Jan-2016