Getting Started with C# Lists

twitter logo ・1 min read

C# Collections (2 Part Series)

1) Getting Started with C# Lists 2) Sort a List using LINQ

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.

Source

twitter logo DISCUSS (3)
markdown guide
 

(Applies to entire series.)

Posts here on DEV.to 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.

 

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

 

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.

Classic DEV Post from Feb 14

GitHub draft PRs are here!

Photo by EJ Yao on Unsplash Gone or soon to be gone are the days of creating a...

Bradley Wells profile image
I am an electrical engineer, software developer, and C# enthusiast.