C
C#12mo 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
Angius12mo ago
Environment.Exit(0)?
Schenk
Schenk12mo ago
What?!?, i just tried it and it didn't work, but now it does, well nvm then, and thanks anyway