C#遍历文件夹下面所有指定格式文件

C#遍历指定文件夹中的所有文件  DirectoryInfo TheFolder=new DirectoryInfo(folderFullName); //遍历文件夹 foreach(DirectoryInfo NextFolder in TheFolder.GetDirectories())    this.listBox1.Items.Add(NextFolder.Name); //遍历文件
相关文章
相关标签/搜索