Community

Create Iterators Easily with the Yield Keyword

(Peter Vogel) This tip is for C# developers only, unfortunately — but it’s the easiest way in the world to create an iterator. An iterator is any method that returns the “next item” in a series. The issue with an iterator is that you have to return a value when called and then pick up at the “next

Read More - Register for Free Membership