Interviews4 answers
What is difference between boxing and unboxing?
4 Answers
boxing = value type to reference type this is called boxing.
unboxing = reference type to value type this is called unboxing.
shekhar kumarPosted Mar 31, 2013, 8:17 PM EDT
Implicit conversion of value type to reference type of a variable is known as BOXING, for example integer to object type conversion.
Conversion of reference type variable back to value type is called as UnBoxing.
Aboobakkar SiddeqPosted Jun 27, 2012, 10:14 PM EDT
Boxing is the conversion of value type to an object type.
Unboxing is the conversion of object type to value type
sathish kumarPosted Jun 12, 2012, 9:12 PM EDT
Boxing: is converting value type to reference type
unboxing: is converting reference type to value type
sivaPosted Jul 29, 2006, 4:01 AM EDT

