Answers for "get current running path c#"

C#
15

c# get current directory

string currentDir = System.IO.Directory.GetCurrentDirectory();
//returns the current directory of the application when executing
Posted by: Guest on December-11-2020
0

c# windows application get current path

System.IO.Path.GetDirectoryName(Application.ExecutablePath);
Posted by: Guest on March-20-2020

C# Answers by Framework

Browse Popular Code Answers by Language