private static void RunParallelStuff(int start, int end) { Console.WriteLine("Sequential from {0} to {1}...", start, end); PrimeCalculator.MeassureTime(() => PrimeCalculator.GetPrimesSequential(start, end)); Console.WriteLine("Parallel Partitioned from {0} to {1}...", start, end); PrimeCalculator.MeassureTime(() => PrimeCalculator.GetPrimesParallel(start, end)); }