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