Providing x ¿¿ y that returns x if x is null otherwise y #7881
Replies: 2 comments 3 replies
-
This appears to have been suggested before (#7855) |
Beta Was this translation helpful? Give feedback.
-
On a more serious note, C# currently does not make use of |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
With my proposed operator, for example
¿¿
(think of it as a reversed version of??
), I can rewriteas
where
Note:
alt+168
can be used to easily type¿
.If you don't like due to
x ¿¿ y
syntax, please consider my other syntaxesx ?> y
andx ?< y
at #7855 (comment).Beta Was this translation helpful? Give feedback.
All reactions