110,567
社区成员
发帖
与我相关
我的任务
分享
D:\tests>csc /debug- /optimize test3.cs
Microsoft(R) Visual C# 2010 编译器 4.0.30319.1 版
版权所有(C) Microsoft Corporation。保留所有权利。
D:\tests>test3
0
D:\tests>type test3.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
class Program
{
static void Main(string[] args)
{
int st = Environment.TickCount;
for (int i = 0; i < 100000000; i++){}
Console.WriteLine(Environment.TickCount - st);
}
}