When should I use Yield in c#?

Posted by Steve on Stack Overflow See other posts from Stack Overflow or by Steve
Published on 2010-04-23T07:26:59Z Indexed on 2010/04/23 7:33 UTC
Read the original article Hit count: 225

Filed under:
|
|

I have a vage understanding of the Yield keyword in c#, but I haven't yet seen the need to use it in my code. This probably comes from a lack of understanding of it..

So; What are some typical good usages of Yield?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about c#