摘要:
1. C# DateTime dtStart = DateTime.Now; for (double i = 0; i < 100000000; i++) { int temp = 0; if (temp==0) { temp = 1; } else { temp = 2; } } DateTime dtEnd = DateTime.Now; Console.WriteLine(dtEnd.Millisecond - dtStart.Millisecond); dtStart = DateTime.Now; for (double i = 0; i < 100000000; i++ 阅读全文