Allow null-coalescing operator on void function #2735
Unanswered
Thaina
asked this question in
Language Ideas
Replies: 1 comment
-
I don't think this syntax makes sense, because |
Beta Was this translation helpful? Give feedback.
0 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.
Uh oh!
There was an error while loading. Please reload this page.
-
Since C# could shorthand many things as one line expression. But sometimes we just want to call some void function in the expression and return value. Which is not possible
So I think it would be easier if we can write it like this
Beta Was this translation helpful? Give feedback.
All reactions