Answers for "folder and files read using 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 "folder and files read using c#"

C# Answers by Framework

Browse Popular Code Answers by Language