[code]switch (s) { case "g": uname.getUserName(); break; case "v": uname.DisplayUserName(); break; default: Console.WriteLine("Please select correct choice...");[/code]Thanks