Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
問題が発生しましたが、.NET 4 Framework でプログラムを開発しましたが、3.5 (VS 2008) に切り替える必要がありますが、3.5 には EnumerateFiles が含まれていません。これには何が使えますか?
ここで使用します:
var txtFiles = Directory.EnumerateFiles(folder_pfad, "*.txt", SearchOption.TopDirectoryOnly);
ありがとう。
私はこれがうまくいくと思う...
s = Directory.GetFiles(folder_pfad, "*.txt", SearchOption.TopDirectoryOnly);