What is boxing?
By admin on Jan 8, 2007 in ASP.NET Interview Questions, Technical
Boxing is an implicit conversion of a value type to the type object
int i = 123; // A value type
Object box = i // Boxing
Unboxing is an explicit conversion from the type object to a value type
int i = 123; // A value type
object box = i; // Boxing
int j = (int)box; // Unboxing
Convertion of value type to ref type


