12 2010 档案

CSS
摘要:1.去除ie6双倍margin:在float的那个div 设置div的样式为 display:inline; 阅读全文

posted @ 2010-12-24 17:07 Paste 阅读(119) 评论(0) 推荐(0) 编辑

C#计算程序执行时间
摘要:1.用C#取出域名string url = "http://zhidao.baidu.com/question/57172275.html";string domain = Regex.Match(url, @"(?<=://)[a-zA-Z\.0-9]+(?=\/)").Value.ToString();2.用C#计算程序执行的时间Stopwatch sw = new Stopwatch();sw.Start();//要执行的代码sw.Stop();long timeTotal = sw.ElapsedMilliseconds;//毫秒 阅读全文

posted @ 2010-12-24 17:00 Paste 阅读(164) 评论(0) 推荐(0) 编辑

导航

点击右上角即可分享
微信分享提示