Beispiel #1
0
        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"));
        }
Beispiel #2
0
 public Core()
 {
     fileHandler    = new FileHandler();
     runTimeHandler = new RunTimeHandler();
 }