C
C#2y 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
Thinker2y ago
Just add a class with a Main method, you don't need a checkbox to do it
Salty
SaltyOP2y ago
isnt it so that it will be a class inside a class at this point
Klarth
Klarth2y ago
No, you either recreate the project or you use the refactoring tool.
Thinker
Thinker2y ago
wdym?
Klarth
Klarth2y ago
Salty
SaltyOP2y ago
ahh nice! thanks
Klarth
Klarth2y ago
Or hand type it.
Want results from more Discord servers?
Add your server