C
C#3y ago
Messiah

❔ 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
ero
ero3y ago
Ctrl + . in the file with the top level statements
Angius
Angius3y ago
Or just write out the boilerplate manually
Messiah
MessiahOP3y ago
which boilerplate? in the .csproj?
Henkypenky
Henkypenky3y ago
in your file that is the entry point, generally Program.cs eg: the file that is TLS you can only have 1
Angius
Angius3y ago
No, the namespace, class, method main, etc. No need to change anything in the csproj
Messiah
MessiahOP3y ago
oh, thought you had to add something else
Accord
Accord3y ago
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.

Did you find this page helpful?