Module 07 of 09 · C# From Beginner to Advanced
LINQ
Describe what data you want instead of writing loops to gather it, and understand when the query actually runs.
8 of 8 lessons available
Lessons in this module
- 0117 min
Why LINQ Exists
IntermediateReplace hand-written loops with a declarative description of the result you want.
- 0218 min
Filtering with Where
IntermediateSelect the items that satisfy a condition.
- 0318 min
Projection with Select
IntermediateTransform each item into a different shape.
- 0415 min
Sorting
IntermediateOrder results by one or several keys.
- 0518 min
Grouping
IntermediateGather items by a key and summarise each group.
- 0617 min
Joining
IntermediateCombine two sequences on a matching key.
- 0717 min
Aggregation
IntermediateReduce a sequence to a single value with Count, Sum, Min, Max and Average.
- 0822 min
Deferred Execution, IEnumerable and IQueryable
IntermediateExplain when a query actually runs, and why this matters enormously with a database.
Have a project worth talking through?
Tell us what you're building or what's slowing your current system down. We'll give you a direct read on scope and approach.