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: SQL IN statement style comparison for C# #17877

Closed
girishAnar opened this issue Mar 15, 2017 · 2 comments
Closed

Feature request: SQL IN statement style comparison for C# #17877

girishAnar opened this issue Mar 15, 2017 · 2 comments

Comments

@girishAnar
Copy link

It would be lot easier if we can have sql IN statement style to C# to compare a set of unrelated variables against a value or a set of values.

Eg:

string var_a="", var_b="", var=c, compare_val=""; 
... 
if((var_a, var_b, var_c)==compare_val) 
{ 
}
@FredyFerrari
Copy link

Ambiguous syntax to dotnet/csharplang#190

@CyrusNajmabadi
Copy link
Member

Closing this out. We're doing all language design now at dotnet/csharplang. If you're still interested in this idea let us know and we can migrate this over to a discussion in that repo. Thanks!

@CyrusNajmabadi CyrusNajmabadi closed this as not planned Won't fix, can't repro, duplicate, stale Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants