C#获取文件夹下面的所有文件名
摘要:String path = @"X:\xxx\xxx"; //第一种方法 var files = Directory.GetFiles(path, "*.txt"); foreach (var file in files) Console.WriteLine(file); //第二种方法 Direc
阅读全文
posted @ 2018-04-15 14:50
Aleehome_Code
posted @ 2018-04-15 14:50
posted @ 2016-05-24 16:28
posted @ 2015-10-29 09:13
posted @ 2014-12-05 15:49