# Query Syntax vs Method Syntax

LINQ can also be written in query syntax, from ... where ... orderby ... select, which reads like SQL. The compiler turns it into the same method calls. Method syntax is more common, and some methods, such as Count and First, have no query keyword.

![Cheat sheet: Query Syntax vs Method Syntax](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/5f209807720c459ab580ec16c488b466.webp)

- Category: C#
- Level: Journeyman
- Tags: c-sharp, Method Syntax, Query Syntax
- Updated: November 3, 2026

Source: https://www.ask-codey.com/cheat-sheets/linq-query-syntax-vs-method-syntax-cheat-sheet
