C# LINQ Hacks Every Developer Should Know

C# LINQ Hacks Every Developer Should Know

Alex Cassells .NET, Articles, C# Leave a Comment

LINQ (which stands for Language Integrated Query) is a library of collection manipulation methods that makes organizing and picking data out of collections much easier. LINQ can save a lot of time that would otherwise be spent writing complicated for or foreach loops. As with the nature of collections in programming, sometimes you will be working with gargantuan data sets and other times with smaller yet complicated collections.

C# 10 new features

LINQ Improvements in C# 10

Adam Wright Articles, C#, Development Technologies & Tools, Programming Leave a Comment

C# 10 was released in November of 2021, and it came with a host of new features. Some of the features that you may have heard of include file-scoped namespaces, global usings, target-type new expressions, record improvements, and many more. Several new extension methods have been added to LINQ as well including MaxBy, MinBy, DistinctBy, IntersectBy, ExceptBy, and UnionBy.

In this post, we will take a look at the aforementioned new C# 10 features and how they work.