VisualStudio workaround "Using declaration" is not available in C# 7.3. Please use language version 8.0 or higher

1. Open the projectName.csproj file in the project

2. Just add the content

  <PropertyGroup>
    <LangVersion>preview</LangVersion>
  </PropertyGroup>

 

 

Guess you like

Origin blog.csdn.net/smile_otl/article/details/131789030