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

Collections

Both LINQ and Rx work with collections. LINQ works with collections that implement IEnumerable, which we will call enumerable collections. Rx works with collections that implement an extension to IEnumerable, IQueryable, which will refer to as observable collections.

The enumerable collection is familiar, as it is the basis for foreach loops in C#. Each enumerable collection is able to provide the Next item in the collection until the collection is exhausted. The details of how this is done will be covered later in the book.

Enumerable Collections

Every generic collection provides the ability to enumerate the values. This means that each collection allows you to ask for the first element, then the next, and the following and each ...

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