February 2018 -

Monthly Archive: February 2018

C# internals: foreach statement

After a while, we get back to series dedicated to the internals of C# language. Personally, I think that previous part about iterators was quite longish and complicated, hence today I decided to choose a much simpler (but hopefully still...

C# internals: iterators

In my last post, we got familiar with the internals of string switch statement in C#. Today, we are going to deeply understand another language feature – iterators.   Iterators in C# Despite the fact that iterators (using yield keyword)...