I've traditionally used yield in C# without the return, e.g.:
IEnumerable<T> Foobar() {
foreach( var foo in _stuff ) {
yield foo;
}
}
But in other examples I've seen it written as "yield return foo;", see: http://msdn.microsoft.com/en-us/library/9k7k7cf0%28VS.80%29.aspx.
Is there any difference?