Showing posts with label Unboxing. Show all posts
Showing posts with label Unboxing. Show all posts

Tuesday, August 16, 2011

Unboxing

Unboxing is an explicit conversion from the object to value type or from an interface type to a value type that implements the interface.
     An unboxing operation consists of:
* Checking the object instance to make sure it is a boxed value of the given value type.
* coping the value from the instance into the value type variable.