Skip to main content
1 of 4
John
  • 6.6k
  • 4
  • 41
  • 59

If you REALLY need it to close out you can also use Environment.Exit() but it is not graceful at all (more like ending the process).

John
  • 6.6k
  • 4
  • 41
  • 59