Example #1
0
        static void Main(string[] args)
        {
            Dog dg = new Dog("Lucky", "Chihuahua");

            dg.Information();
            dg.Sound();
            Console.WriteLine();
            Cat c = new Cat("Orange");

            c.Information();
            c.Sound();
            Console.WriteLine();
            Duck dk = new Duck("Black");

            dk.Information();
            dk.Sound();

            Console.ReadKey();
        }