'Visual Studio C#: Is there any way to update a VS (Visual Studio) Windows Forms App(.NET Framework) project language from C#7.3 to 9.0 or greater?
I'm currently following some tutorials on the EPPLUS NuGet package for reading and writing to excel files.
The tutorials are using new features such as "Target-Typed Object Creation" unique to the C# language versions 9.0 +.
I only just created by project a couple days ago, so it's using the most up-to-date versioning. However for some reason the project uses C#7.3 and therefore I cannot use some of the new features of 9.0 (obviously).
Some examples of the help I need regarding syntax... All images below are shown for the C#7.3 project
How can I fix the syntax for the red underlined text?
How can I fix the syntax for the red underlined text?
Attempted Fix (not sure if it works since other stuff is still broken
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
