c# current path code example
Example 1: get current directory c# \
System.IO.Path.GetDirectoryName(Assembly.GetEntryAssembly().Location);
Example 2: c# windows application get current path
System.IO.Path.GetDirectoryName(Application.ExecutablePath);