System.Diagnostics.Stopwatch stopwatch = new System.Diagnostics.Stopwatch();
stopwatch.Start();
stopwatch.Stop();
long mill = stopwatch.ElapsedMilliseconds;
stopwatch.Restart();
System.Diagnostics.Stopwatch stopwatch = new System.Diagnostics.Stopwatch();
stopwatch.Start();
stopwatch.Stop();
long mill = stopwatch.ElapsedMilliseconds;
stopwatch.Restart();