Tag Archives: IL

C# Behind the scenes – `yield`

The first “Behind the scenes” article will be about yield keyword. Lets take for example a very simple code that return numbers 1,2,3: The compiler translates this 4 lines code into an entire class.

Posted in .NET, c# | Tagged , , , , | 1 Comment