habe a problem, I developed a program with .NET 4 Framework but I have to switch to 3.5 (VS 2008) - but in 3.5 is EnumerateFiles not included. What I can use for this ?
I use it here:
var txtFiles = Directory.EnumerateFiles(folder_pfad, "*.txt", SearchOption.TopDirectoryOnly);
Thanks.
I think this will work...
s = Directory.GetFiles(folder_pfad, "*.txt", SearchOption.TopDirectoryOnly);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With