您的位置:首页 > 编程语言 > C#

C# 统计函数运行时间

2011-11-02 17:44 239 查看
using System.Diagnostics;

Stopwatch st = new Stopwatch();
st.Start();
st.Stop();
long timeCount = st.ElapsedMilliseconds;

st.Reset();


  
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: