![Bartosz Adamczewski on Twitter: "The C# compiler will sort switch cases (if they can be sorted) where's any if statements will not be touched. This is relevant for performance since it can Bartosz Adamczewski on Twitter: "The C# compiler will sort switch cases (if they can be sorted) where's any if statements will not be touched. This is relevant for performance since it can](https://pbs.twimg.com/media/EhZ9GaUXYAEhTKh.jpg)
Bartosz Adamczewski on Twitter: "The C# compiler will sort switch cases (if they can be sorted) where's any if statements will not be touched. This is relevant for performance since it can
Proposal: expression-based switch ("match") for pattern matching · Issue #5154 · dotnet/roslyn · GitHub
![David Fowler on Twitter: "I'm using switch expressions everywhere #dotnet #csharp https://t.co/7tEh3tewai" / Twitter David Fowler on Twitter: "I'm using switch expressions everywhere #dotnet #csharp https://t.co/7tEh3tewai" / Twitter](https://pbs.twimg.com/media/FRUUwBVUUAEZ5i2.jpg:large)
David Fowler on Twitter: "I'm using switch expressions everywhere #dotnet #csharp https://t.co/7tEh3tewai" / Twitter
![Switch Expressions and Pattern-Based Usings – A Look at New Language Features in C# 8 | The .NET Tools Blog Switch Expressions and Pattern-Based Usings – A Look at New Language Features in C# 8 | The .NET Tools Blog](https://blog.jetbrains.com/wp-content/uploads/2019/05/dotnet-using-declaration.gif)
Switch Expressions and Pattern-Based Usings – A Look at New Language Features in C# 8 | The .NET Tools Blog
C# 8.0 switch expressions only work with single return statements. · dotnet csharplang · Discussion #2181 · GitHub
![Don't Be a Basic Coder And Use 5 Possibilities to Avoid The Bad Switch Case | by Arnold Abraham | Towards Data Science Don't Be a Basic Coder And Use 5 Possibilities to Avoid The Bad Switch Case | by Arnold Abraham | Towards Data Science](https://miro.medium.com/v2/resize:fit:1200/1*mFQ2CAwrlIMbJX1rsze3JA.png)