Chapter 21. LINQ
Language Integrated Query, or LINQ, is a flexible, SQL-like query language designed to give the programmer consistent syntax to query any data set, whether database, XML, or just plain objects. What’s more, it’s usable from the comfort and safety of your everyday C# file.
LINQ is a language that merely looks like SQL, and only superficially. If you’re familiar with SQL, you’ll notice that the various parts of the query appear ...