C# 9.0: Pattern Matching in Switch Expressions
In the previous blog posts about C# 9.0 you learned about different features:
- Top-level statements
- Init-only properties
- Records
- Target-typed new expressions
- Improved Pattern Matching
In this blog post, let's look at C# 9.0 pattern matching in switch expressions.
(more…)