get path for my .exe [duplicate]
System.Reflection.Assembly.GetEntryAssembly().Location;
In addition:
AppDomain.CurrentDomain.BaseDirectory
Assembly.GetEntryAssembly().Location
System.Reflection.Assembly.GetEntryAssembly().Location;
In addition:
AppDomain.CurrentDomain.BaseDirectory
Assembly.GetEntryAssembly().Location