Allow "_" for empty delegates #9374
Unanswered
znakeeye
asked this question in
Language Ideas
Replies: 2 comments 4 replies
-
IMHO, |
Beta Was this translation helpful? Give feedback.
0 replies
-
I could see a potential for something like |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If you search github for
_ => { }
you'll find 33 thousand usages. Five ugly tokens to declare an empty delegate ... You are almost inclined to introduce nullability just to allow fordefault
.Today's syntax
Suggestion
This syntax has several obvious benefits.
Beta Was this translation helpful? Give feedback.
All reactions