public void CreateaCrocodile() { Crocodile crocodile = new Crocodile(); crocodile.ID = count; Console.WriteLine("Name of Crocodile: "); crocodile.Name = Console.ReadLine(); Console.WriteLine("Age of Crocodile: "); crocodile.Age = Int32.Parse(Console.ReadLine()); animal.Add(count); animal.Add(crocodile); count++; }