Duration: 16 minutes
Summary: In this video, we are continuing our discussion on Reactive Extensions. We will tackle Group By and Skip. We will start by creating a sequence of names and making it an observable sequence. Then, we will use GroupBy by providing it with a key selector of all names that start with “J”. But when we get the count back we realized that count itself is an observable sequence. We subscribe to it and print the count of elements on the screen.
Then we created an example that shows how Skip work. Remember that since Reactive Extension is built on Linq, it implements many of the Linq functionality. Skip will skip a number of elements that we pass in the parameter and returns an observable sequence that we can subscribe to.
Methodology of the development of example: Good coding standard and simplified design to illustrate the key points.
Technology Used: Reactive Extensions and Visual Studio 2010
Keyword: Skip, GroupBy, ToObservable, StartsWith, Subscribe, Count, Visual Studio 2010.