SyntaxFix
Write A Post
Hire A Developer
Questions
You can use the DirectoryInfo.GetFiles method:
DirectoryInfo.GetFiles
FileInfo[] files = DirectoryInfo.GetFiles("*.xml");