The C# language supports the following clauses that you can use in a query: : LINQ « LINQ « ASP.NET Tutorial






from, where, select, group, into, orderby, join, let

var results = from w in words
  where w.Contains("z")
  select w;


is translated into this query by the C# compiler:

var results = words.Where( w => w.Contains("z") ).Select( w => w );








17.7.LINQ
17.7.1.Understanding LINQ
17.7.2.The C# language supports the following clauses that you can use in a query: