摘要: TO XML ,优化的重点还是在细节,细节决定成败一点也没错View Code System.Diagnostics.Stopwatchst1=newSystem.Diagnostics.Stopwatch();st1.Start();XDocumentxdom=XDocument.Load(XmlPath);varrestElements=xdom.Descendants("rest").ToList();st1.Stop();HttpContext.Current.Response.Write("1.载入XML时间"+st1.ElapsedMilli 阅读全文
posted @ 2012-04-25 10:38 wsenmin 阅读(7556) 评论(0) 推荐(1) 编辑