C# LINQ methods I use often as a NET Developer | Part 2
2 min readOct 7, 2022
Agenda
- Intro
- Demo overview
- Exists
- Take
- Groupby
Intro
In my first part of the series, I went over (FirstOrDefault, WHERE and SELECT, OrderBy, OrderByDecending, MIN and MAX) methods to day we will be expanding into 3 more methods i really do find useful to aggregate results and extract useful information faster than using long formed loops.
Demo Overview
You can grab the demo project from my GitHub if you wish, or you can get the step by step setup in my first part of the series.
Exists
By the name of it, it check if there i a specific element in a sequence that satisfies a condition and we usually specify the condition inside a Function predicate.