New LINQ Methods in .NET 9: Index, CountBy, and AggregateBy

.NET 9 introduces powerful new LINQ methods — Index, CountBy, and AggregateBy. This guide explains each method with before-and-after examples, showing how they reduce boilerplate and make queries more readable.