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