Feature request catch expression in future .Net release #8450
Unanswered
yaddly
asked this question in
Language Ideas
Replies: 1 comment
-
Similar to (but quite the same) as #989. |
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.
-
The .Net framework introduced a
switch
expression to replace the switch structure:This new expression got me thinking if it would not be ideal to have a
catch
expression as well.The above feature request is more elegant than the conventional use of multiple
catch
statements.Beta Was this translation helpful? Give feedback.
All reactions