Пример #1
0
        public double CheckStateAccount()
        {
            if (_isPinValid)
            {
                return(BankAccount.CheckStateAccount());
            }

            Console.WriteLine("Access denied!");
            return(double.NaN);
        }