|
-
Jun 26th, 2015, 07:59 AM
#1
Thread Starter
Junior Member
Read in directory content in name order
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?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|