如何搜索目录及其所有子目录中的所有文件以获取特定扩展名
Directory.GetFiles(path, ".txt", SearchOption.AllDirectories);
上面的代码不返回任何文件
c#
c# ×1