How can I exit from a console application

  • Thread starter Thread starter Vedant Lath
  • Start date Start date
You need to exit out of the "Main()" method (or whatever it's called in your
app). Once the application returns from Main(), the console window will
close and the app will terminate.

Pete
 
You need to exit out of the "Main()" method (or whatever it's called in your
app). Once the application returns from Main(), the console window will
close and the app will terminate.

That is, if there aren't any other non-background threads running...
 
Back
Top