Пример #1
0
        public static void Main(string[] args)
        {
            Dog d = new Dog();
            Cat c = new Cat();

            d.Bark();
            c.Bark();
            Console.ReadKey();
        }