C
C#3y ago
Salty

✅ Do not use top level statement, - tick after creation?

If i created a console app with the 'do not use top level statements' un checked, is it possible to check it after the app is created? I cant seem to find it
7 Replies
Thinker
Thinker3y ago
Just add a class with a Main method, you don't need a checkbox to do it
Salty
SaltyOP3y ago
isnt it so that it will be a class inside a class at this point
Klarth
Klarth3y ago
No, you either recreate the project or you use the refactoring tool.
Thinker
Thinker3y ago
wdym?
Klarth
Klarth3y ago
Salty
SaltyOP3y ago
ahh nice! thanks
Klarth
Klarth3y ago
Or hand type it.

Did you find this page helpful?