DEV Community 👩‍💻👨‍💻

Joe Enos
Joe Enos

Posted on

LINQ Group By

GROUP BY in SQL is an easy way to calculate sums, averages, counts, max, or min, of a series of data, with subtotals by a particular group. It's a pretty straightforward syntax in SQL.

With LINQ, it's a little bit different. Here's a video showing how to group using LINQ, whether it's for Entity Framework, LINQ-to-objects, or any other LINQ implementation.

Top comments (0)

🌚 Friends don't let friends browse without dark mode.

Sorry, it's true.