Esempio n. 1
0
File: Bank.cs Progetto: q2git/VS
        public Account VerifyPsw(Account account, string psw)
        {
            if (account.IsMatch(account.ID, psw))
            {
                return(account);
            }

            throw new BankException("incorrect password");
        }