Multiple choice qn7

Unboxing means?

  1. Converting reference type to value type

  2. Converting valuetype to reference type

  3. Converting int to string

  4. None

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Unboxing extracts the value type from a reference type (object) that was previously boxed. It is the explicit conversion from object back to the original value type. Boxing/unboxing have performance implications.