application path c# code example
Example 1: c# app path
string appPath = AppDomain.CurrentDomain.BaseDirectory;
Example 2: get application path c#
System.Reflection.Assembly.GetExecutingAssembly().Location
Example 3: c# project path
string startupPath = System.IO.Directory.GetCurrentDirectory();
string startupPath = Environment.CurrentDirectory;