LINQ Grouping in C#: GroupBy, ToLookup, CountBy, and AggregateBy
Master LINQ grouping in C# with GroupBy, ToLookup, and the powerful .NET 9 CountBy and AggregateBy methods for cleaner data aggregation.
C# and .NET by Nick Cosentino
Practical, in-depth content for software engineers and technical leaders. Learn C#, .NET, software architecture, AI-assisted development, and engineering leadership with guidance you can apply on your team today.

The latest articles on software engineering, architecture, AI, and career growth.
Master LINQ grouping in C# with GroupBy, ToLookup, and the powerful .NET 9 CountBy and AggregateBy methods for cleaner data aggregation.

Welcome to another issue of Dev Leader Weekly! In this issue, I discuss the perception trap around working hours -- why your start time doesn't define your work ethic on its own, but your hours absolutely shape what your team thinks is expected of them.
Build a production-ready bridge pattern example in C# with a notification delivery system covering multiple channels, message priorities, and DI integration.
Master LINQ ordering in C# with OrderBy, ThenBy, and the .NET 7 Order() method. Covers custom IComparer, stable sort, StringComparer, and real-world examples.
Go deeper into the core topics on Dev Leader, from .NET and AI to software engineering and career growth.