VS2017 implicitly typed local variables are not available in C-sharp2?

VS2017 Enterprise Edition, var do not recognize? How to upgrade C-sharp?
No problem generating DLL.

Mar.22,2021

(1) right-click the current project, click "Properties]
(2) Click" generate "in the left Tab, and click" Advanced "in the lower right corner of the interface.
(3) modify the language version


requires C-sharp3 or higher version


right-click the project, and then select" Properties ". In the pop-up Properties dialog box, In the 'applications' tab, change the. NET Framework version of the current project to version 3.0 or above.

Menu