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 PrintGiraffe(Giraffe giraffe) { Console.Write("In Zoo.PrintGiraffe. "); giraffe.PrintName(); }