I need to close the console when the user selects a menu option.
I tried using close() but it did not work..
close()
how can I do this?
Environment.Exit and Application.Exit
Environment.Exit
Application.Exit
Environment.Exit(0) is cleaner.
Environment.Exit(0)
http://geekswithblogs.net/mtreadwell/archive/2004/06/06/6123.aspx