Published
- 1 min read
c# retrieve files in folder
The solution for this is noted below
c# retrieve files in folder
Solution
using System.IO;
string[] filePaths = Directory.GetFiles(@"c:\MyDir\");
// returns:
// "c:\MyDir\my-car.BMP"
// "c:\MyDir\my-house.jpg"
Try other methods by searching on the site. That is if this doesn’t work