DEV Community

Discussion on: When is it appropriate to use expression bodied methods?

Collapse
 
saint4eva profile image
saint4eva

Yes, switch expression is a feature of C# 8. I was letting you know another scenario where it could be used - pattern matching