Possible Duplicate:
What does “yield break;” do in C#?
Can anyone see a use for the "yield break" statement that could not have been otherwise achieved by using "break" or "return".
This statement seems to be utterly useless. What's more, without this statement, the "yield return X" statement could have been simplified to "yield X", which much more readable.
What am I missing?