static string ObtainAuth() { while (true) { Console.WriteLine("User Name:"); var UN = Console.ReadLine(); Console.WriteLine("Password:"******"Username + Password combination no found, please retry."); } }
static void Login() { while (true) { Console.WriteLine("User Name:"); var UN = Console.ReadLine(); Console.WriteLine("Password:"******"Welcome, " + UN); return; } Console.WriteLine("Username + Password combination no found, please retry."); } }