c get project root directory 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