LiXiang98

导航

 
Stopwatch stopWatch = new Stopwatch();
stopWatch.Start();
DoSomething();
stopWatch.Stop();
Console.WriteLine("耗时时间(毫秒):" + stopWatch.Elapsed.TotalMilliseconds);

 

posted on 2023-12-06 14:29  LiXiang98  阅读(27)  评论(0)    收藏  举报