Quitting a console application

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Does anyone know how to immediately end a C# console application. C/C++ provides an exit(n
function.
 
Paul Danko said:
Does anyone know how to immediately end a C# console application.
C/C++ provides an exit(n) function.

See Environment.Exit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top