Microsoft interview question

What does the yield keyword in C# do?

Interview Answer

Anonymous

8 Apr 2010

I thought this was a good question... nothing too tricky but it's definitely one of the lesser known keywords in the language.