LINQ
http://code.msdn.microsoft.com/101-LINQ-Samples-3fb9811b
http://msdn.microsoft.com/en-us/library/bb397676.aspx
http://msdn.microsoft.com/en-us/library/bb397927.aspx
Language-Integrated Query (LINQ) is the name for a set of technologies based on the integration of query capabilities directly into the C# language (also in Visual Basic and potentially any other .NET language). With LINQ, a query is now a first-class language construct, just like classes, methods, events and so on.
我的理解LINQ是为集合查询提供类sql查询语法。