get current directory path and change path in c# code example
Example: get execution directory c#
string logsDirectory = Path.Combine(Environment.CurrentDirectory, "logs");
string logsDirectory = Path.Combine(Environment.CurrentDirectory, "logs");