c# get root path of project 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