摘要: string[] strs = new string[10000];for (int i = 0; i < 10000; i++){strs[i] = i.ToString();}string temp1 = "";string temp2 = "";long fortime = 0;long foreachtime = 0;timer.Reset();timer.Start();for (int i = 0; i < 10000; i++){temp1 = strs[i];}fortime = timer.ElapsedTicks;time 阅读全文
posted @ 2012-02-05 14:37 SoarNo1 阅读(876) 评论(1) 推荐(0) 编辑