CHAPTER 19LINQ

LINQ is without question one of the most exciting features in C#. It was added by C# 3.0, and it represented a major addition to the language. Not only did it add an entirely new syntactic element, several new keywords, and a powerful new capability, but also it significantly increased the scope of the language, expanding the range of tasks to which C# can be applied. Simply put, the addition of LINQ was a pivotal event in the evolution of C#.

LINQ stands for Language-Integrated Query. It encompasses a set of features that lets you retrieve information from a data source. As you may know, the retrieval of data constitutes an important part of many programs. For example, a program might obtain information from a customer list, look ...

Get C# 4.0 The Complete Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.