In a program I am developing the locations of a directory on my computer are read in to an array. However the files in the array are arbitrarily ordered.
The code I have is:
Directorycontents = Directory.GetFiles("pathname")
how do make it so that they are sorted in order by file name?


Reply With Quote
