static void Main(string[] args) { var testsRunner = new TestsRunner(); var file = "Tests.txt"; var prepareTests = new PrepareTests(); // prepareTests.Prepare(file, 100, 100, 10000); // prepareTests.Prepare(file, 5, 10, 15); var testCollections = prepareTests.ParseTestsToCollection(file); testsRunner.Run(testCollections, "CollectionResults.txt"); var testLinkedCollections = prepareTests.ParseTestsToLinkedCollection(file); testsRunner.Run(testLinkedCollections, "LinkedCollectionResults.txt"); // showCollection(testLinkedCollections[0]); // Console.WriteLine("The Same Collection sorted as List"); // showCollection(testCollections[0]); void showCollection(IEnumerable <int> collection) { foreach (var e in collection) { Console.WriteLine(" {0} ", e); } Console.WriteLine("\n"); } }