Answers for "c# current dir"

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# current dir

string appPath = System.IO.Path.GetDirectoryName(Application.ExecutablePath);
Posted by: Guest on September-20-2020

C# Answers by Framework

Browse Popular Code Answers by Language