Yield Keyword | Notion
Yield Keyword
Simple Usage
Correctly checking arguments
Early Termination
More Pertinent Usage
Lazy Evaluation
Try...finally
Using yield to create an IEnumeratorT when implementing IEnumerableT
Eager evaluation
Return another Enumerable within a method returning Enumerable
Lazy Evaluation Example Fibonacci Numbers
The difference between break and yield break