摘要: HttpContext//写Stopwatchsw=newStopwatch();sw.Start();for(inti=1;i<=100000;i++){varm=newMan(){age=1,Height=2};HttpContext.Current.Cache[i.ToString()]=m;}sw.Stop();Debug.WriteLine(sw.ElapsedMilliseconds);//读sw.Start();for(intj=1;j<=100000;j++){varm=HttpContext.Current.Cache[j.ToString()];}sw.Stop 阅读全文
posted @ 2012-06-28 17:49 凌度 阅读(815) 评论(0) 推荐(0) 编辑