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.
Updated

- Category
- C#
- Level
- Journeyman
- Tags
- c-sharp, Method Syntax, Query Syntax