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