C# Medium · Lesson 2

Iterators and yield return

Lazy sequences with yield return, yield break, and how iterator state machines run.

Lessons · C# Medium · Lesson 2 of 10

Iterators and yield return

Lazy sequences with yield return, yield break, and how iterator state machines run.

Illustration for C#
Lazy sequences with yield return, yield break, and how iterator state machines run.