Answers for "c# get project file path"

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

C# Answers by Framework

Browse Popular Code Answers by Language