Discussion in 'C#' started by Clydebrown, Jan 2, 2013.
I want to know about boxing, what does boxing mean?
In very crude terms it is casting to an object
It is the process of switching a value type to the type object or to any interface type executed by this value type.
int i = 789;
// following line boxes i.
object obj = i;
When a value type is converted to object type, it is called boxing
obj = 100; // this is boxing
Separate names with a comma.