摘要:test1
using ...System;
using System.Diagnostics;
using System.Threading;
class Program
...{
static void Main(string[] args)
...{
Stopwatch stopWatch = new Stopwatch();
stopWatch.Start();
Thread.Sleep(3742);
stopWatch.Stop();
// Get the elapsed time as a TimeSpan value.
TimeSpan ts = stopWatch.Elapsed;
// Format and display the TimeSpan value.
2008-07-31