摘要: 静态构造函数的理解 Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> class Program { static void Main(string[] args) { Cacu... 阅读全文
posted @ 2008-05-06 11:53 RobotTech 阅读(176) 评论(0) 推荐(0) 编辑
摘要: public long GetDirectoryLength(string dirPath){ if(!Directory.Exists(dirPath))return 0; long len=0; DirectoryInfo di=new DirectoryInfo(dirPath); foreach(FileInfo fi in di.GetFiles()){ ... 阅读全文
posted @ 2008-05-06 11:49 RobotTech 阅读(255) 评论(0) 推荐(0) 编辑