Re:C# 8: Switch expressions
by wongarsu on Friday February 15, 2019 @11:00AM
(#19171916)
The correct answer to "how to run multiple commands in the statement" would have been "don't", instead of this abonimation. If you want to do multiple things, don't use a syntax designed for expressions, use a syntax that supports blocks (like, you know, regular if/else or switch statements).
[ Parent
| on HN ]
There are no comments on this comment yet.