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
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.