C#中一些好用的工具类

1.秒表StopWatch

Stopwatch watch = new Stopwatch();
watch.Start();

// Your code

watch.Stop();
Debug.WriteLine(watch.ElapsedMilliseconds);


你可能感兴趣的:(stopwatch)