get path of exe c# code example
Example 1: c# get executable path
//This path contains the .exe file
System.Reflection.Assembly.GetEntryAssembly().Location;
Example 2: c# windows application get current path
System.IO.Path.GetDirectoryName(Application.ExecutablePath);