Too Long; Didn't Read
Pattern matching in C# 8.0 is a new feature in the latest version of the language. The new switch is an expression and the old one is a statement. Every possible match must return a value of the same type. Pattern matching is super powerful and can be used to simplify complex logic while making it easier to read. We'll see how pattern matching makes the code clean and easy to read in a new application that has many business rules. The latest release of C# (8.0) has full support for pattern matching.