We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In addition to yield return from IEnumerable function. C# should be able to yield any other IEnumerable from inside
yield return
IEnumerable<int> GetInt() { yield return 0; yield return 1; yield return 2; yield [3,4,5]; yield return 6; yield return 7; yield return 8; yield Enumerable.Range(9,99); }
Like yield* in js
The text was updated successfully, but these errors were encountered:
F# has this, it enables proper recursion as well: http://theburningmonk.com/2011/09/fsharp-yield-vs-yield
Sorry, something went wrong.
#15
Language design discussion now takes place at https://github.com/dotnet/csharplang . Please reopen there if you want to continue this. I am closing this as the discussion appears to be stale. See also dotnet/csharplang#378
No branches or pull requests
In addition to
yield return
from IEnumerable function. C# should be able to yield any other IEnumerable from insideLike yield* in js
The text was updated successfully, but these errors were encountered: