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
c # winforms


source to share


2 answers


AppDomain.CurrentDomain.BaseDirectory



+7


source to share


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



+6


source to share







All Articles
Loading...
X
Show
Funny
Dev
Pics