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
Are you using .NET Framework or .NET Core?
That error indicates .NET Framework indeed
yes
Use .NET Core, and never touch .NET Framework again 😄
why?
.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)
ok..
.NET Framework is the old and Windows-only version of the runtime
if you're starting a new project, you should use .NET 8
ok thanks for help