Concept Flow - Performance implications of boxing
Value type variable
Boxing: Wrap value in object
Object reference created
Use object as reference type
Unboxing: Extract value from object
Value type restored
Performance cost: extra memory + CPU
Boxing wraps a value type into an object, creating extra memory and CPU cost; unboxing extracts the value back, also costing performance.