I have a command as shown below. I believe that if I use the *.csv file template, it also picks up elements with the .csvx extension. Maybe this is a return to days of file names in 8.3 format: does anyone know a way that will return them properly, preferably without folding our own?
files = (from file in Directory.EnumerateFiles(sourceFolder, filePattern, SearchOption.TopDirectoryOnly) select file).ToList();
source share