get working directory c#

75

get current directory c# \ -

System.IO.Path.GetDirectoryName(Assembly.GetEntryAssembly().Location);

get execution directory c# -

string logsDirectory = Path.Combine(Environment.CurrentDirectory, "logs");

Comments

Submit
0 Comments