Given a folder path (like C:\\Random Folder), how can I find a file in it that holds a certain extension, like txt? I assume I\'ll have to do a sea
C:\\Random Folder
txt
You could use the Directory class
Directory.GetFiles(path, "*.txt", SearchOption.AllDirectories)