Query-like Syntax

Learn about LINQ query syntax.

Do you remember how in our first lesson we said LINQ was a “set of methods,” but the official documentation says “set of technologies”? In this lesson, we will get into that distinction.

How to use LINQ query syntax

Up to this point, we have seen LINQ methods as extension methods—Where, Select, and OrderBy, among others. But we could also use LINQ as language-level query syntax.

The code below shows how to find our favorite movies using language-level query syntax.

Get hands-on with 1200+ tech skills courses.