mmArrayFileExtensionComparer

The mmArrayFileExtensionComparer class can be passed as a parameter to the Array.Sort() method to sort a list of file names by extension / file name. For example:

string[] FileNames =System.IO.Directory.GetFiles(@"c:\");
Array.Sort(Test, new ArrayFileExtensionSorter());

And in VB .NET:

Dim FileNames() As String
Array.Sort(FileNames, New ArrayFileExtensionSorter)

© (c) 2026 Oak Leaf Enterprises, Inc., 1996-2026 • Updated: 09/24/04
Comment or report problem with topic