Answers for "get all file paths in directory c#"

C#
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
1

c# retrieve files in folder

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

Code answers related to "get all file paths in directory c#"

C# Answers by Framework

Browse Popular Code Answers by Language