예제 #1
0
        //TEST 1
        public void Enter(IAnimal animal)
        {
            //TODO Modify the code so that we can display the type of animal (cow, sheep etc)
            //Hold all the animals so it is available for future activities

            if (animals == null)
            {
                animals = new List <IAnimal>();
            }

            animals.Add(animal);
            animal.Enter();
        }