DEV Community

Cover image for Sort a List using LINQ
Bradley Wells
Bradley Wells

Posted on

Sort a List using LINQ

The Language Integrated Query (LINQ) is a syntax that allows developers to sort, filter, and perform other aggregate operations on collections in C#. This tutorial is an introduction to LINQ. You will learn how to query your data using two different styles of LINQ syntax.

In particular, this tutorial will introduce you to lambda expressions, and it will teach you how to sort a List<T> of data using both the query syntax and the method syntax.


Top comments (1)

rodolfo_gaspar profile image
Rodolfo Gaspar

When I learned how to use LINQ, it was a little difficult to assimilate. Today I already jumped him and only use Lambda