Are .NET collections with large number of items apt to be stored in the LOH?
I\'m curious about List and Dictionary specifically. In my code, I store a large number
System.Collections.Generic.List is implemented as an array internally, not a linked list. And yes, if the size of the collection is large it'll be allocated on large object heap (note that the size of the array is important, if you have a small array of large reference types, it won't be allocated on LOH).