public Zoo() { Animal a = new Animal("Squicky the squirrel"); Lion l = new Lion("Leo the lion"); Giraffe g = new Giraffe("Gerry the giraffe"); animals = new Animal[] { a, l, g }; }
public void PrintLion(Lion lion) { Console.Write("In Zoo.PrintLion. "); lion.PrintName(); lion.Roar(); }