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