摘要: 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++ 阅读全文
posted @ 2012-01-31 11:20 Ony_Lowkey 阅读(1796) 评论(1) 推荐(0) 编辑