public static void Main(string[] args) { Dog d = new Dog(); Cat c = new Cat(); d.Bark(); c.Bark(); Console.ReadKey(); }