LINQ instead of loopsbeginner
LINQ lets you say what you want from a collection — filtered, grouped, totalled — instead of writing the bookkeeping loop that does it, which is most of the C# you will read at work.
A hand-rolled group-and-total. Say what you want instead of how to get it.
Same categories, same totals, no += bookkeeping.
Published in full, before you start — every point is one of these and there is nothing else.
LINQ lets you say what you want from a collection — filtered, grouped, totalled — instead of writing the bookkeeping loop that does it, which is most of the C# you will read at work.