Answers for "get all documents in folder c#"

C#
1

c# retrieve files in folder

using System.IO;

string[] filePaths = Directory.GetFiles(@"c:MyDir");
// returns:
// "c:MyDirmy-car.BMP"
// "c:MyDirmy-house.jpg"
Posted by: Guest on June-16-2020
1

c# retrieve files in folder

string[] filePaths = Directory.GetFiles(@"c:MyDir", "*.bmp");
// returns:
// "c:MyDirmy-car.BMP"
Posted by: Guest on June-16-2020

Code answers related to "get all documents in folder c#"

C# Answers by Framework

Browse Popular Code Answers by Language