Friday 22 June 2012

Convert reference types in value type and vice versa

An unboxing conversion allows an open conversion from type object to any value-type or from some interface-type to any value-type that takes the help of the interface-type. An unboxing process includes of first examining on that the object instance is a boxed value of the provided value-type, and then copying the value out of the object . unboxing change of an object box to a value-type G comprises of executing the expression ((G_Box)box).value.

No comments:

Post a Comment