Пример #1
0
        public static void Main()
        {
            Current c1 = new Current();
            Saving s1 = new Saving();

            c1.accept();
            s1.accept();

            Console.WriteLine(c1);
            Console.WriteLine(s1);
               Console.ReadLine();
        }
Пример #2
0
        public static void Main()
        {
            Current c1 = new Current();
            Saving  s1 = new Saving();

            c1.accept();
            s1.accept();

            c1.display();
            s1.display();
            // Console.ReadLine();
        }
Пример #3
0
        public static void Main()
        {
            Current c1 = new Current();
            Saving  s1 = new Saving();

            c1.accept();
            s1.accept();

            Console.WriteLine(c1);
            Console.WriteLine(s1);
            Console.ReadLine();
        }
Пример #4
0
        public static void Main()
        {
            Current c1 = new Current();
            Saving s1 = new Saving();

            c1.accept();
            s1.accept();

            c1.display();
            s1.display();
               // Console.ReadLine();
        }