I know what yield
does, and I\'ve seen a few examples, but I can\'t think of real life applications, have you used it to solve some specific problem?
(I
One interesting use is as a mechanism for asynchronous programming esp for tasks that take multiple steps and require the same set of data in each step. Two examples of this would be Jeffery Richters AysncEnumerator Part 1 and Part 2. The Concurrency and Coordination Runtime (CCR) also makes use of this technique CCR Iterators.