I recently penned an introductory article on LINQ (Language-Integrated Query) for the September issue of the DevelopMents newsletter, published by DevelopMentor to highlight various technologies taught in our courses:
LINQ is an exciting technology that will truly alter the way you write code. It incorporates enhancements made to the C# and VB.Net programming languages, and at the same time will cause you to approach age-old problems from a new perspective. For example, instead of whipping out a for loop to extract specific items from a collection, after learning LINQ you’ll most likely use a query expression, the primary benefit of which is to make your intent as a developer more evident. This follows a trend we’re seeing from an imperative style of code (concerned with the “how”) toward a more declarative style of code (concerned primarily with the “what”).
In addition to a shift in programming models with the ability to query in-memory object collections, the first release of LINQ comes with an object-relational mapper (called LINQ to SQL) and an XML query language (called LINQ to XML). I address both of these in the DevelopMents article mentioned at the start of this post. So take a look, and feel free to send me your feedback or questions: email@example.com. ou also might want to check out the LINQ Project home page: