Unboxing: Unboxing is vice versa of boxing operation where the value is copied from the instance in to appropriate storage location.
Here is sample code of boxing and unboxing where integer data type is converted in to object and then vice versa.
int x = 0;
object y = null;
x = 10;
// boxing process
y = x;
// unboxing process
x = y;

Join the conversation! Your thoughts help the community grow.