Exemple #1
0
        private bool Login()
        {
            Console.WriteLine("Enter your username: "******"Enter your password: "******"Incorrect username/password.");
                return(false);
            }
            else
            {
                Console.WriteLine($"\nWelcome {found.Name}! Logging in...");
                _user = found;
                return(true);
            }
        }