I am tring to create an array list of files selected form the OpenFileDialog class in the order that the files were selected. The problem is that the .FileNames property returns a string array of the selected files in numberical order (all except the last selected file). That is, if I select the following file names (while holding down the ctrl key) in the order of:
5.myfile
3.myfile
1.myfile
2.myfile
The array returned from the .FileNames property is:
1.myfile
3.myfile
5.myfile
2.myfile
I would like to select all the files I want at the same time and in the order I selected them. Can anyone suggest another way? I would rather not create a whole new class for file select because I am new to C#, this is my first program in C#.
Thanks,
edbock123
No one has replied yet! Why not be the first?
Sign in or Join us (it's free).