Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardC#Boxing and unboxing costSingle-choice MCQ

What does this loop actually allocate on the managed heap with respect to boxing?

var list = new System.Collections.ArrayList(); for (int i = 0; i < 10; i++) { list.Add(i); }