示例#1
0
文件: Bank.cs 项目: q2git/VS
        public Account VerifyPsw(Account account, string psw)
        {
            if (account.IsMatch(account.ID, psw))
            {
                return(account);
            }

            throw new BankException("incorrect password");
        }