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

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

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

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

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