title: Console application says 'Press any key to continue' when it should exit
body: <p>When the user enters 3 I want the program to exit but instead the console says Press any key to continue then exits after the user presses any key. This is what i have for case 3. The entire switch statement is also wrapped in a do while statement.</p>
  
  <pre><code>       do {
                .
                .
                .
                      case 3:                       
                          Environment.Exit(0);
                          break;
  
             } while (!isValid);   
  </code></pre>