How do i find the path of the executable in a windows console application (C# code)? I tried "Application.StartupPath".It did not work,got a compile error "the name 'application' does not exist in this context"
View this solution now by starting your
7-day free trial.
Setting up your free trial is quick, easy, and secure. We will return you to this solution,
unlocked, when you're done.
About this solution
Zones: .NET Framework 3.x versions, Microsoft Visual C#.Net, Visual Studio