Aug 14, 2008
Post comments count0
Post likes count0
The implementation of iterators in C# and its consequences (part 3)
I mentioned that there was an exception to the general statement that the conversion of an iterator into traditional C# code is something you could have done yourself. That's true, and it was also a pun, because the exception is exception handling. If you have a try ... finally block in your iterator, the language executes the finally block und...