.net get files in directory code example
Example: c# get files of type in directory
string[] files = System.IO.Directory.EnumerateFiles(directory, "*.*").ToArray();
string[] files = System.IO.Directory.EnumerateFiles(directory, "*.*").ToArray();