public void start() { while (choice != 0) { try { choice = int.Parse(Console.ReadLine()); } catch (Exception e) { todo: skriv exception start();//kör om startmetoden } switch (choice) { case 1: //gör något break; case 2: //gör något break; case 0://avslutar programmet Environment.Exit(0); break; } } }