LANGUAGE
yield break
Ends the iterator sequence.
Formal Syntax & Structure
csharp syntaxcsharp
yield break;Working Example
Example Snippetcsharp
// Documentary fragment; supply surrounding declarations as needed.yield break;Ends the iterator sequence.
yield break;// Documentary fragment; supply surrounding declarations as needed.yield break;