class Animal { public void Eat() { Console.WriteLine("This animal eats food."); } } class Dog : Animal { public void Bark() { Console.WriteLine("Woof! Woof!"); } }