Once your data sits in a list or an array, the next question is how to ask questions about it: which items match a condition, what is the total, how do they group together. LINQ (Language Integrated Query) lets you answer these questions with short, readable queries instead of manual loops.
This module starts with the core operators Where, Select, and OrderBy, then moves on to grouping, joins, and deferred execution. The last lesson is a full course that covers the complete set of LINQ operators in depth.
Watch the lessons in order, then continue on to Errors, Files & Debugging.
Layla Porter introduces LINQ as a way to query a collection, building on the lists from the previous module and showing the basic query workflow.
A practical, example-driven introduction to the everyday operators: filtering with Where, sorting with OrderBy and OrderByDescending, grouping with GroupBy, and transforming with Select.
Goes a level deeper with grouping, joins, nested queries, and PLINQ, including when parallel queries help and when to avoid them.
Gavin Lon walks through LINQ in four parts: how it works, method versus query syntax, deferred execution, joins, and the full range of operators such as aggregate, set, partitioning, and projection. Use it as a reference to come back to.