Duration: 20 minutes
Summary: In this video, we will talk about using Buffer(). Sometimes, we do not want to process the elements one at a time. Instead, we need to divide them into sets of values. We use Buffer() to do so. There are many overloads for this method. We will experiment with some of them here. We will start with a simple version that takes an int as a parameter and prints the count on the screen. In the second example, we will take advantage of the lists returned and process them. In the third and final example, we will see how Buffer() works based on some timing information.
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: Buffer, Subscribe, Enumerable, Range, ToObservable, TimeSpan, FromSeconds, Thread, Sleep, yield, Visual Studio 2010.