//admin login public static bool Admin() { Console.WriteLine("enter the user name : "); string Username = Console.ReadLine(); Username = Username.ToLower(); Console.WriteLine("enter the password : "******"login successfully!!!"); return(true); } else { Console.WriteLine("enter valid username or password!!"); return(false); } }