static void Main() { Console.WriteLine("1.Log In\n2.Create new user"); int val = ReadInt(); switch (val) { case 1: break; case 2: Console.Write("UserName:"******"Password:"******"Succefully created user"); } catch (Exception e) { Console.WriteLine(e.Message); } finally { } break; default: Console.WriteLine("Mellan 1-2s"); break; } Console.ReadLine(); }