C# 8.0 – What C# version does my App use?
So you have created a new application in Visual Studio 2019. You might be surprised to learn that your application isn't using C# 8.0 by default. Not unless you are targeting .NET Core 3.x or .NET Standard 2.x.