Changing State with the Switch Expression (C# 8)

added by DotNetKicks
9/3/2019 12:59:19 PM

2 Kicks, 232 Views

A previous blog article on moving from the switch statement to the C# 8 switch expression led to some comments from readers that preferred the old switch statement in all cases. That's why I had to create another article to show more examples of the switch expression to show more advantages (in my opinion) of...