Hi im using a basic application to list and access images from a specific folder.
what it do:
Open the folder from FolderChooser than get all the images file names from there
CODE:
foreach (String path in System.IO.Directory.GetFiles(folderBrowserDialog1.SelectedPath))
{
System.Diagnostics.Debug.WriteLine(path);
}
at the windows file explorer i have this listing:
000-01
000-02
000-03
...
000-09
000-10
000-11
...
and when i open the folder and list the files at the VisualStudio output, it show me this result:
..
000-10.jpg
000-100.jpg
000-101.jpg
000-102.jpg
..
000-11.jpg
000-110.jpg
000-111.jpg
why? ok i know that its because the number order, but WHY for Visual Studio it has a wrong ordering? (different than the windows explorer)
how can i fix the VisualStudio order?