dotnetomaniak.pl

Strona głównaSztuka programowania

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) were introduced back in C# 2.0, many folks are still confused how they work. Honestly, I’m not surprised at all, because to me this mechanism was a mystery for a long time. Of course, we have to clearly distinguish two things here:How do...

C# internals: iterators - Forever F[r]ame

Sztuka programowania 250 dni, 2 godziny, 40 minut temu dpawlukiewicz 149 pokaż kod licznika zwiń