C # window form application launch path detection

I want to know the application startup path for a C # 2.0 Windows Forms Application. One way is Application.StartupPath. Is there any other way to find the application launch path?

+2


source to share


2 answers


AppDomain.CurrentDomain.BaseDirectory



+7


source


Look at this: How can I get the application path in a .NET console application?



+6


source







All Articles