Library tutorials & articles tagged with yield
Page 1 of 1
-
Iterator blocks in C# 2: auto-generated state machines
by Jon Skeet
Ever wondered how the magic "yield" statement works? Jon Skeet digs into the inner workings of C# 2.0 and how this innocuous statement gets you a whole load of "free" generated code for your iterators.