C
C#13mo ago
kingend

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
Elianora13mo ago
Are you using .NET Framework or .NET Core?
Monsieur Wholesome
That error indicates .NET Framework indeed
kingend
kingendOP13mo ago
yes
Monsieur Wholesome
Use .NET Core, and never touch .NET Framework again 😄
kingend
kingendOP13mo 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)
kingend
kingendOP13mo ago
ok..
Elianora
Elianora13mo 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
kingend
kingendOP13mo ago
ok thanks for help

Did you find this page helpful?