示例#1
0
文件: Program.cs 项目: svejdo1/Euler
 static void Main(string[] args)
 {
     var watch = Stopwatch.StartNew();
     string result = new Problem094.Task().Run();
     watch.Stop();
     Console.Out.WriteLine(result);
     Console.Out.WriteLine(Convert.ToString(watch.Elapsed.TotalSeconds)+" s");
     Console.Out.WriteLine("Press any key to continue...");
     Console.ReadLine();
 }
示例#2
0
        static void Main(string[] args)
        {
            var    watch  = Stopwatch.StartNew();
            string result = new Problem094.Task().Run();

            watch.Stop();
            Console.Out.WriteLine(result);
            Console.Out.WriteLine(Convert.ToString(watch.Elapsed.TotalSeconds) + " s");
            Console.Out.WriteLine("Press any key to continue...");
            Console.ReadLine();
        }