摘要: 遍历一个文件夹中的文件,需要用到DirectoryInfo类中的一个重要的方法GetFileSystemInfos(),此方法返回指定的是与搜索条件相匹配的文件和子目录的强类型 FileSystemInfo对象的数组。  intj=0; protectedvoidButton1_Click(objectsender,EventArgse) { DirectoryInfodir=newDire... 阅读全文
posted @ 2010-07-10 20:23 零纪录 阅读(872) 评论(0) 推荐(0) 编辑