using System;using System.Diagnostics;using System.Runtime.InteropServices;
class Class1
{
[DllImport("kernel32.dll", CharSet = CharSet.Ansi, EntryPoint = "QueryPerformanceCounter")]
static extern bool QueryPerformanceCounter(out Int64 lpPerformanceCount);
[STAThread]
public static void Main()
{
Int64 l1,l2;
QueryPerformanceCounter(out l1);
int i = 0; int j = i; int k = j;
while (i < 10000)
{
k = ((i * 2) + 2);
i = k / 2;
i ++;
j = i;
j ++;
i = j;
}
QueryPerformanceCounter(out l2);
System.Windows.Forms.MessageBox.Show(Convert.ToString(l2 - l1));
}
}