LINQ Query Syntax and Method Syntax
LINQ provides two syntax for writing queries. Query Syntax Query syntax is like SQL like query syntax. Query syntax is easier to read and write than Method syntax. But Query syntax does not support all query operators of LINQ. A query syntax must begin with a from clause. The from …