further simplification of switch() syntax c# #6232
Unanswered
vsfeedback
asked this question in
General
Replies: 2 comments
-
With expression switch you can already use As for simplification: #2926 |
Beta Was this translation helpful? Give feedback.
0 replies
-
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.
-
This issue has been moved from a ticket on Developer Community.
Assuming the following hypothetical:
I'd like to see the switch block simplified:
This could also accommodate multiple statements.
Original Comments
Feedback Bot on 6/9/2022, 08:12 PM:
(private comment, text removed)
Beta Was this translation helpful? Give feedback.
All reactions