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.
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.
No comments:
Post a Comment