SyntaxFix
Write A Post
Hire A Developer
Questions
Take a look at Directory.GetFiles Method (String, String) (MSDN).
This method returns all the files as an array of filenames.