2014年6月19日

Log4Net

摘要: //参数化 //日志格式 阅读全文

posted @ 2014-06-19 15:34 战马 阅读(126) 评论(0) 推荐(0)

开发各类小技巧

摘要: //此方法能得到你想要的小数点后位数double percent=Convert.ToDouble(2)/Convert.ToDouble(34);string result=string.Format("{0:0.00%}",percent);//得到5.88%string result=stri... 阅读全文

posted @ 2014-06-19 14:07 战马 阅读(207) 评论(0) 推荐(0)

导航