How do I find the application\'s path in a console application?
In Windows Forms, I can use Application.StartupPath to find the current path, but this d
Application.StartupPath
You can simply add to your project references System.Windows.Forms and then use the System.Windows.Forms.Application.StartupPath as usual .
System.Windows.Forms
System.Windows.Forms.Application.StartupPath
So, not need for more complicated methods or using the reflection.