G
Guest
string[] allFiles = Directory.GetFiles(folderPath, filters,
SearchOption.AllDirectories);
I noticed that the order that the files are returned in varies from PC
to PC - some return in alphabetical order; some appear to return in
date modified or something else. In my testing, it seemed that files
within a give subdirectory are returned in alphabetical order, but its
the order that the subfolders themselves are processed in which varies
a lot.
Any thoughts?
SearchOption.AllDirectories);
I noticed that the order that the files are returned in varies from PC
to PC - some return in alphabetical order; some appear to return in
date modified or something else. In my testing, it seemed that files
within a give subdirectory are returned in alphabetical order, but its
the order that the subfolders themselves are processed in which varies
a lot.
Any thoughts?