The Yield Statement in C#(alteridem.net)
submitted by
rprouse(1175) 4 years, 5 months ago
The yield statement is another often overlooked keyword that was introduced in .NET 2.0. It is used to return items from a loop within a method and retain the state of the method through multiple calls.
|category: C#
|Views: 124
tags:
yield C# another
Everyones tags:
Your Tags: