Answers for "how to get current directory path in c# console application"

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

Code answers related to "how to get current directory path in c# console application"

C# Answers by Framework

Browse Popular Code Answers by Language