首页 > 技术文章 > 计算一段程序运行时间

gc001279 2018-07-13 11:14 原文

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

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

方法二:利用System.DateTime.Now

 

推荐阅读