public static void Main(string[] args) { //UtilityHelper.Measure(() => SimpleForeach(), true, "Foreach loop:"); //UtilityHelper.Measure(() => ParallelForeach(2), true, "Parallel Foreach loop:"); UtilityHelper.Measure(() => { var f = UtilityMath.GetFactors(12000).ToArray(); Array.Sort(f); f[0] = 1; }, true, "Factor:"); UtilityHelper.Measure(() => ProductSumNumbers(12000), true, "ProductSumNumbers answer:"); }