C
C#8mo 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
Elianora8mo ago
Are you using .NET Framework or .NET Core?
Monsieur Wholesome
That error indicates .NET Framework indeed
kinglord
kinglordOP8mo ago
yes
Monsieur Wholesome
Use .NET Core, and never touch .NET Framework again 😄
kinglord
kinglordOP8mo 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
kinglordOP8mo ago
ok..
Elianora
Elianora8mo 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
kinglordOP8mo ago
ok thanks for help
Want results from more Discord servers?
Add your server