Ideas of mine.
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.
kasper graversenPosted Nov 25, 2008, 2:53 PM
This article explains how to use the C# constructs yield-return, yield-break and foreach. We attack the problem from two different implementation angles using the types IEnumerator and IEnumerable. http://firstclassthoughts.co.uk/csharp/csharp_yield_return_foreach.html