2 ms·
The C# compiler does something very similar to this when it compiles iterators (the yield return, yield break feature to quickly implement IEnumerable without w
by barrkel 16y ago
The C# compiler does something very similar to this when it compiles iterators (the yield return, yield break feature to quickly implement IEnumerable without writing a class), although it takes care of capturing state automatically etc.