c# get file info for all files from folder 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();