Пример #1
0
        public new string Show()
        {
            string m = String.Format
                           ("[OverdraftAccountS:accountNumber={0},accountHolder={1},balance={2}]",
                           AccountNumber, AccountHolder.Show(), Balance);

            return(m);
        }
Пример #2
0
        public string Show()
        {
            string m = String.Format
                           ("[BankAccount:accountNumber={0},accountHolder={1},balance={2}]",
                           AccountNumber, AccountHolder.Show(), Balance);

            return(m);
        }
Пример #3
0
        public override string Show()
        {
            string m = String.Format
                           ("[SavingsAccount:accountNumber={0},accountHolder={1},balance={2}]",
                           AccountNumber, AccountHolder.Show(), Balance);

            return(m);
        }