how to get root directory of projec in C# 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