public void Solustion(RunTimeHandler runTimeHandler) { var timer = new Stopwatch(); timer.Start(); runTimeHandler(); timer.Stop(); Console.WriteLine(string.Format(CultureInfo.InvariantCulture, "Solve problem in : " + timer.ElapsedMilliseconds / 1000.0 + "s")); }
public Core() { fileHandler = new FileHandler(); runTimeHandler = new RunTimeHandler(); }