1 var stopwatch = Stopwatch.StartNew(); 2 Thread.Sleep(1000); 3 Console.WriteLine($"Elapsed time:{stopwatch.Elapsed}");
posted on 2021-11-17 10:26 Shine-Zhong 阅读(70) 评论(0) 编辑 收藏 举报