C
C#11mo ago
kinglord

Use language version 9.0or greater

how ı can fix feature top-level statments is not available in c# 7.3 Please Use language version 9.0or greater
9 Replies
Elianora
Elianora11mo ago
Are you using .NET Framework or .NET Core?
Monsieur Wholesome
That error indicates .NET Framework indeed
kinglord
kinglordOP11mo ago
yes
Monsieur Wholesome
Use .NET Core, and never touch .NET Framework again 😄
kinglord
kinglordOP11mo ago
why?
Monsieur Wholesome
.NET Framework is old and obsolete We're talking like half a decade old essentially (Ignoring the last version update that didnt make much better)
kinglord
kinglordOP11mo ago
ok..
Elianora
Elianora11mo ago
.NET Framework is the old and Windows-only version of the runtime if you're starting a new project, you should use .NET 8
kinglord
kinglordOP11mo ago
ok thanks for help

Did you find this page helpful?