News

Pattern matching has been enhanced in C# 8.0, ... To work with the code examples provided in this article, ... Selecting C# 8.0 as the programming language for your project in Visual Studio.
Pattern matching is a great feature first introduced in C# 7. You can use pattern matching on any data type, even on custom data types, to extract values from an expression.