c# app path code example
Example 1: c# app path
string appPath = AppDomain.CurrentDomain.BaseDirectory;
Example 2: get application path c#
System.Reflection.Assembly.GetExecutingAssembly().Location
string appPath = AppDomain.CurrentDomain.BaseDirectory;
System.Reflection.Assembly.GetExecutingAssembly().Location