List is one of the most used collections in C#. Let’s inspect the features of List and look at how some of its parts are implemented.

This article is about List<T> from the System.Collections.Generic namespace. More specifically, the article describes the internal implementation and some features of List<T>. This is the most used collection in C#, and it’s not just my opinion — Andrew Troelsen, Philip Japikse, and Jon Skeet wrote the same in their books. And that’s understandable: List<T> is easy to work with. It’s quite flexible and thus covers most of the daily tasks for developers. It also has a large number of helpful methods. The collection’s abilities are expanded even further with the help of LINQ.

Generated by Feedzy