2015年9月24日
摘要: /// /// 遍历 rootdir目录下的所有文件 /// /// 目录名称 /// 该目录下的所有文件 public StringCollection GetAllFiles(string rootdir)... 阅读全文
posted @ 2015-09-24 11:54 Now,DayBreak 阅读(3669) 评论(0) 推荐(0)
摘要: 主要用到 System 命名空间下的一个数据类 Math ,调用他的方法。C#取整函数使用详解:1、Math.Round是"就近舍入",当要舍入的是5时与"四舍五入"不同(取偶数),如:Math.Round(0.5,0)=0 Math.Round(1.5,0)=2 Math.Round(... 阅读全文
posted @ 2015-09-24 09:33 Now,DayBreak 阅读(35804) 评论(0) 推荐(2)