yield Statement in C#
1302
27-Nov-2015
i want to use yield in c# how to use please help me.
Anonymous User
27-Nov-2015With yield keyword, the control moves from the caller to source and from the source back to the caller .
yield statement can be used in two forms: yield return <expression>;
yield return statement returns each element at at time.
Yield return allows you to run custom iteration without temp collection.