How do I find the application's path in a console application? 如何在控制台应用程序中找到应用程序的路径? app
In Windows Forms , I can use Application.StartupPath
to find the current path, but this doesn't seem to be available in a console application. 在Windows Forms中 ,我能够使用Application.StartupPath
查找当前路径,但这彷佛在控制台应用程序中不可用。 this