标签:
Stopwatch sw = new Stopwatch();
int[] nums = new int[10000];
sw.Start();
for (int i = 0; i < nums.Length; i++)
{
Console.WriteLine(nums[i]);
}
sw.Stop();
Console.WriteLine(sw.Elapsed);
Console.ReadKey();
标签:
原文地址:http://www.cnblogs.com/swlq/p/5393174.html