计算一段程序运行时间

原文:https://blog.csdn.net/xzjxylophone/article/details/6832160

方法一:Stopwatch类(System.Diagnostics) (我喜欢)

方法二:利用System.DateTime.Now

 

posted @ 2018-07-13 11:14  竹林逸雪  阅读(157)  评论(0编辑  收藏  举报