
I have an observable sequence and I want to observe only a defined number of values, the number is immaterial, the important part is the fact I don't want to be notified of any further values.How can this can be achieved?The answer is easy, use the Rx extension method Take, it'll return the required number of values only. A simple example:.csharpcode, .csharpcode pre { font-size: small; color: black; font-family: Consolas, "Courier New",...