I'm trying to pull files from a directory into a string array. I need to match the pattern for something like this:
"*." + file extension + "*"
so i can pick up files that match this pattern:
but this isn't working. any suggestions?
sFiles = Directory.GetFiles(myGlobalVars.gsDirectory.ToString(), "*." + sLoopExt + "*");