The implementation of iterators in C# and its consequences

Recently oldnewthing wrote a series av articles on C# iterators. Especially part four is interesting since it describes how iterators can be used to simplify asynchronous code. I’m not a big fan of this kind of exploit of a programming language since there is a risk the code is harder to understand for new developers looking at the code but it is never the less intriguing to read about.

Now you should not skip ahead and read part four first. Read them all in order: one two three four

Comments (0)