G
Guest
Hello, friends,
In the following source code,
DirectoryInfo dirCustom = new DirectoryInfo(filePath);
FileInfo[] files;
files = dirCustom.GetFiles("*.jpg");
When I use foreach loop to enumerate each file in files, what order shall I
get? Ordered by file name, modified date, file size, etc., or randomly?
Thanks a lot.
In the following source code,
DirectoryInfo dirCustom = new DirectoryInfo(filePath);
FileInfo[] files;
files = dirCustom.GetFiles("*.jpg");
When I use foreach loop to enumerate each file in files, what order shall I
get? Ordered by file name, modified date, file size, etc., or randomly?
Thanks a lot.