❔ How do toggle top level statements?
There's no mentions of this on google. How do you enable/disable this in an existing project?
7 Replies
Ctrl + . in the file with the top level statements
Or just write out the boilerplate manually
which boilerplate? in the .csproj?
in your file that is the entry point, generally Program.cs
eg: the file that is TLS
you can only have 1
No, the namespace, class, method main, etc.
No need to change anything in the csproj
oh, thought you had to add something else
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.