O'Reilly logo

C# 5.0 Unleashed by Bart De Smet

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Why Query Expressions?

LINQ is the concatenation of LIN and Q. Trivial as this might seem, it’s quite important to understand those are the two core pieces of the puzzle being presented here. The latter part is clear: We want provide a way to query data across different domains such as in-memory, relational, and hierarchical, but also more. This mission can be separated from the former part, which has to do with language integration to allow more natural ways to express queries.

To set the scene, let’s take a look at a totally different language: Haskell, a pure functional programming language. With a decreased emphasis on imperative-style code, programs written in a functional style tend to make more operations data driven. For example, instead ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required