摘要:
1: 递归 http://blog.csdn.net/ever_snow/article/details/72194162:DirectoryInfo类 这里以获取test文件夹及其子目录下的所有.jpg文件为例:1 DirectoryInfo directory = new DirectoryInfo("D:\\test");2 FileInfo[] files = directory.GetFiles("*.jpg", SearchOption.AllDirectories);3 foreach (FileInfo di... 阅读全文