C# Stopwatch 准确地测量运行时间 Stopwatch 类 命名空间: System.Diagnostics 程序集: System.dll 提供一组方法和属性,可用于准确地测量运行时间 static void Main(string[] args) { int count = 0; System.Diagnostics.Stopwatch RealTimer =