News

To work with the code examples provided in this article, you should have Visual Studio 2019 installed in your system. If you don’t already have a copy, you can download Visual Studio 2019 here.
The following code snippet — a rewrite of the GetTaxPercentage method — illustrates how logical patterns can be combined with relational patterns in C# 9.