-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
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
LINQ query materialization in-language syntax (ToArray/ToList/Single/Sum etc.) #291
Comments
Related to this dotnet/roslyn#100 (comment) and somehow #101. |
@alrz |
I'm closing this issue as it was already offered here |
No, please reopen it. #101 is about a different proposal, let's use this one to discuss passing the result to a collector. |
@orthoxerox |
I would definitely appreciate such a feature. |
Hi,
I almost never use C# LINQ when I need a one liner, because then I have to wrap the whole query in parentheses or use a variable:
Or
Both ways are not so aesthetic.
As suggested in this post, please extend the built-in LINQ features in the language itself to include execution/materialization capabilities.
Here are some other related posts that's worth reading:
do
query termination)"Personally I like the first couple most as it's simple, requires no big introduction of new keywords and is flexible. But the first one is also a great point.
The text was updated successfully, but these errors were encountered: