static void Main() { Train train = new Train { }; PrintClass.PrintMethod(train.StartTrain(AnimalData.Animals()), AnimalData.Animals()); Console.ReadLine(); }