日期:2014-05-18 浏览次数:20820 次
string[] directoryEntries = System.IO.Directory.GetFileSystemEntries(@"D:\", "*.Dat"); foreach (string str in directoryEntries) { System.Console.WriteLine(str); }