DEV Community

Cover image for Getting Started with C# Lists
Bradley Wells
Bradley Wells

Posted on

Getting Started with C# Lists

Collections in C# can be considered "arrays on steroids." A List is a type of collection that enables you to take advantage of the rich sorting, filtering, and aggregation features available in the .NET Core framework through LINQ queries.

In this tutorial, you will learn how to initialize a generic list, List<T>. You will also learn a pair of useful techniques for adding elements to a list.


Top comments (3)

codemouse92 profile image
Jason C. McDonald • Edited

(Applies to entire series.)

Posts here on should contain actual substantial content, not just be intended to promote another external work. From the Terms of Use:

Users must make a good-faith effort to share content that is...not designed primarily for the purposes of promotion or creating backlinks. Additionally, posts must contain substantial content — they may not merely reference an external link that contains the full post.

Please use listings for posts like this.

Thank you.

bradwellsb profile image
Bradley Wells • Edited

When did this change? Thanks for the heads up in any case...

codemouse92 profile image
Jason C. McDonald

Article 11 of the Terms of Use has been there for quite some time, at least for several months. However, since we're largely community moderated, sometimes it takes a while for things to be spotted.