Answers for "how to get the project folder path in c#"

C#
0

c# project path

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

string startupPath = Environment.CurrentDirectory;
Posted by: Guest on October-11-2020
0

c# relative path to project folder

string fileName = "ich_will.mp3";
string path = Path.Combine(Environment.CurrentDirectory, @"Data", fileName);
Posted by: Guest on September-03-2020

Code answers related to "how to get the project folder path in c#"

C# Answers by Framework

Browse Popular Code Answers by Language