I have the following code
DirectoryInfo taskDirectory = new DirectoryInfo(this.taskDirectoryPath);
FileInfo[] taskFiles = taskDirectory.GetFiles("*" + blah + "*.xml");
I would like to sort the list by filename.
How is this done, as quickly and easily as possible using .net v2.
See Question&Answers more detail:os