Content deleted Content added
changed to citation |
|||
Line 429:
===C#===
An example C# 2.0 generator (the <code>yield</code> is available since C# version 2.0):
Both of these examples utilize Generics, but this is not required. yield keyword also helps in implementing custom stateful iterations over a collection as discussed in
<syntaxhighlight lang="csharp">
|