How do I find my app Path?

How do I find my app Path? Now, write the below code for getting the application startup path. static void Main(string[] args) { var GetDirectory = Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location); Console.WriteLine(GetDirectory); Console.ReadKey(); } What is application StartupPath in C#? StartupPath property returns the path for the executable file that started the application, not Read more…