Experiment: List<T> internals and performance when adding new elements

added by gpeipman
9/9/2010 8:26:27 AM


Lists and their performance has been hot discussion topic for years. I have seen many examples and read a lot of stories about List class and I made conclusion that there is too much pointless opinions about it. In this posting I will show you how List<T> performs when adding elements to it and how it works internally. Be prepared for interesting discussion!