C# New Features
With the latest C# release, C# 11, expected in November 2022, we will be treated to some new features to help us develop code.
We can use the features of C# 11 in their current form, prior to official release , by amending the project file, .csproj, to inform it that we wish to use the preview feature of the language. The .csproj file defines the project content, platform requirements, and, importantly for us, the language versioning information. It may also contain information about servers such as a database or web server.