O'Reilly logo

Programming Reactive Extensions and LINQ by Paul Betts, Jesse Liberty

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

C H A P T E R 2

Core LINQ

The relationship between LINQ and Reactive Extensions (Rx) is deep and fascinating. We will explore the relationship between the two in Chapter 5, but for now it is sufficient to point out that the central element in LINQ is IEnumerable, much as the central element in Rx is IObservable. Many of the same operators appear in both frameworks, such as Select and SelectMany.

In this chapter we will dive into LINQ in a bit more depth, first exploring the syntax of a LINQ statement, and then a number of useful LINQ operators, and concluding with a demonstration program that will illustrate many of the central concepts of LINQ.

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