C
C#16mo ago
Schenk

How do I close console app outside of the Main method?

I have a program that runs recursive outside of the main method, but how do I close it. I can't use any of the usual as they only works in main.
2 Replies
Angius
Angius16mo ago
Environment.Exit(0)?
Schenk
SchenkOP16mo ago
What?!?, i just tried it and it didn't work, but now it does, well nvm then, and thanks anyway
Want results from more Discord servers?
Add your server