The Birth of LINQ

We’ve looked at only three different data storage formats, but this should be sufficient to appreciate the “jungle of data access,” ranging from highly imperative code to the use of specialized APIs with domain-specific query languages. Dealing with all of this is not just tedious but also very error prone. Furthermore, knowledge of one data and querying domain doesn’t carry over to another. Tomorrow you’ll have to get data out of some online web service where querying is done by specialized web service methods, and again you’ll have to learn the specifics of the web service’s API.

This brings us to one of the problem statements identified by language and framework designers in the .NET 3.5, C# 3.0, and Visual Basic 9.0 time ...

Get C# 4.0 Unleashed 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.