Answer
Boxing converts a value type into an object by allocating memory on the heap.
Frequent boxing/unboxing causes extra allocations, garbage collection pressure, and type-check overhead, which degrade performance.
Boxing converts a value type into an object by allocating memory on the heap.
Frequent boxing/unboxing causes extra allocations, garbage collection pressure, and type-check overhead, which degrade performance.
Sign in to access all features and personalize your learning experience.
Source: SugharaIQ