Skip to content
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

[Feature Request] Add Pattern Matching feature in LINQ #10340

Closed
t-smirnov opened this issue Apr 5, 2016 · 3 comments
Closed

[Feature Request] Add Pattern Matching feature in LINQ #10340

t-smirnov opened this issue Apr 5, 2016 · 3 comments

Comments

@t-smirnov
Copy link

Sorry, if duplicate

So, are you considering feature, that provides using keyword 'match' (like we're using it in F#) in LINQ queries? Is it possible to implement 'match' in C# using F# way?

@DavidArno
Copy link

It is a duplicate. Please see #10153. It might be called match, or it might end up as switch, but pattern-matching expressions are being prototyped and hopefully will make it into C# 7.

@t-smirnov
Copy link
Author

@DavidArno oh, thanks.

@HaloFour
Copy link

HaloFour commented Apr 5, 2016

And #6877, which is probably less likely to make the C# 7.0 cut.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants