- LINQ to Object {Queries performed against the in-memory data}
- LINQ to ADO.Net
- LINQ to SQL (formerly DLinq) {Queries performed against the relation database only Microsoft SQL Server Supported}
- LINQ to DataSet {Supports queries by using ADO.NET data sets and data tables}
- LINQ to Entities {Microsoft ORM solution}
- LINQ to XML (formerly XLinq) { Queries performed against the XML source}
where a < 3
orderby a
select a;
foreach(int i in res)
Console.WriteLine(i);
Output:
0
1
2