string currentDir = System.IO.Directory.GetCurrentDirectory(); //returns the current directory of the application when executing
System.IO.Path.GetDirectoryName(Assembly.GetEntryAssembly().Location);
Environment.CurrentDirectory