LANGUAGE
yield return
Supplies the next iterator value and suspends execution.
Formal Syntax & Structure
csharp syntaxcsharp
yield return value;Working Example
Example Snippetcsharp
// Documentary fragment; supply surrounding declarations as needed.yield return value;