Answers for "get file in project directory c#"

C#
0

c# project path

string startupPath = System.IO.Directory.GetCurrentDirectory();

string startupPath = Environment.CurrentDirectory;
Posted by: Guest on October-11-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

C# Answers by Framework

Browse Popular Code Answers by Language