获取文件夹中的所有文件名

private string[] browsingFormats; // 存放文件名
browsingFormats = System.IO.Directory.GetFiles(FolderPath, "*.btw");   // FolderPath 文件夹路径  *.btw 文家后缀
 
原文地址:https://www.cnblogs.com/fengyie55/p/3427833.html