title: Despite ReadLine() the program closes
body: <p>I got a weird problem.
  I create an object(inside that object i call readline..) then the program quits despite I called ReadLine() at the end.</p>
  
  <p>Why it doesn't stop? How to make it stops?</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  
  namespace Funkcjonalnosc {
  
      class MainClass {
          static void Main(string[] args) {
              new MainMenu();         
              Console.ReadLine();
          }
      }
  }
  </code></pre>
  
  <hr>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  
  namespace Funkcjonalnosc {
     public class MainMenu {
          int selection;
          public MainMenu() {
              showMenu();
              selection = getSelection();
              Console.WriteLine("Wybrano "+ selection);
              switch (selection) {
                  case 1: break; //strojenie
                  case 2: break; //pobieranie stroju
              }
          }
          void showMenu() {
              String menu = "1. Nastrój\n2. Dodaj strój";
              Console.WriteLine(menu);
          }
  
          int getSelection() {//pobiera wybrana opcje z menu{
              try {
                  return Console.Read();
              } catch (Exception e) { Console.WriteLine("Zly wybor"); getSelection(); }
              return -1;
          }
      }
  }
  </code></pre>