Example #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();
        }
Example #2
0
        public static void Main()
        {
            Current c1 = new Current();
            Saving  s1 = new Saving();

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

            c1.display();
            s1.display();
            // Console.ReadLine();
        }
Example #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();
        }
Example #4
0
        public static void Main()
        {
            Current c1 = new Current();
            Saving s1 = new Saving();

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

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