Boxing:
Implicit conversion of any value type to the type object.
Value types are stored on stack.
Reference or object type are stored on heap.
Unboxing:
Explicit conversion from object type to value type.
Value types are stored on stack.
Reference or object type are stored on heap.
Unboxing:
Explicit conversion from object type to value type.
No comments:
Post a Comment