-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Why doesn't use an invalid name in discards? #27101
Comments
This is documented in Language Design Meeting notes for 15 November 2016 (emphasis mine):
|
This was a subject of a lot of debate and I still don't agree with the outcome, but that's where we are now. |
@CreateAndInject I believe the answers to your question(s) can be found in the links provided by @HaloFour. If you have additional questions, you can ask them in dotnot/csharplang. 😄 |
As we know, "_" is a valid name:
So, I think these 2 are both correct.
Why doesn't use an invalid name (such as * or #) instead of _?
like this:
The text was updated successfully, but these errors were encountered: