c# project path code example
Example 1: c# project path
string startupPath = System.IO.Directory.GetCurrentDirectory();
string startupPath = Environment.CurrentDirectory;
Example 2: get path od proyect c
AppDomain.CurrentDomain.BaseDirectory
string startupPath = System.IO.Directory.GetCurrentDirectory();
string startupPath = Environment.CurrentDirectory;
AppDomain.CurrentDomain.BaseDirectory