c#遍历一个文件夹下的所有文件包括子文件夹
摘要:
using System; using System.IO;class ListAllFilesDemo { public static void Main() { Console.Write( "请输入要查询的目录: "); string dir = Console.ReadLine(); try { ListFiles(new DirectoryInfo(dir)); } catch(IOException e) { Console.WriteLine(e.Messag... 阅读全文
posted @ 2012-09-29 14:20 前总2012 阅读(524) 评论(0) 推荐(0)
浙公网安备 33010602011771号