Exemplo n.º 1
0
        //Method to print the details of the account
        public static void DoPrint(Bank bank)
        {
            Account acc = FindAccount(bank);

            //If account is found in the FindAccount method, then print the contents of the account
            if (acc != null)
            {
                acc.Print();
            }
        }