示例#1
0
        public static void Main()
        {
            IBankAccount account = new BankAccountProxy("it's me", "for real");

            DisplayBallance(account);
            Deposit(25, account);
            DisplayBallance(account);
            Withdraw(250, account);
            DisplayBallance(account);
            Deposit(700, account);
            DisplayBallance(account);
        }
示例#2
0
        public static void Main()
        {
            IBankAccount account = new BankAccountProxy("it's me", "for real");

            DisplayBallance(account);
            Deposit(25, account);
            DisplayBallance(account);
            Withdraw(250, account);
            DisplayBallance(account);
            Deposit(700, account);
            DisplayBallance(account);
        }
示例#3
0
        private static void Main(string[] args)
        {
            IBankAccount account = new BankAccountProxy("az sum", "naistina");

            DisplayBallance(account);

            Deposit(25, account);

            Withdraw(250, account);

            Deposit(700, account);

            DisplayBallance(account);
        }