Bite-Size .NET 6 - MaxBy() and MinBy() in LINQ
MaxBy() and MinBy() in .NET 6 make it easy to find an object in a collection using a value of said object.
MaxBy() and MinBy() in .NET 6 make it easy to find an object in a collection using a value of said object.
Let's order some TV shows by their quality using the new PriorityQueue
Let's see how to use the new overloads for FirstOrDefault() et al to return custom values instead of type defaults!
Let's divide big collections into groups of smaller collections using the new Chunk() method in LINQ!
Learn about DateOnly and TimeOnly, structs that are new in .NET 6, and how they are used!