dotnetomaniak.pl - Artykuły z tagiem 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) 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 2473 dni, 3 godziny, 24 minuty temu dpawlukiewicz 152 źrodło rozwiń