c# - How to add current working directory in a winformapplication -


currently have hard coded file location in config file, instead want pick current running directory of application.

is there way arround?

thanks in advance!

try

environment.currentdirectory property.

please refer link: http://msdn.microsoft.com/en-us/library/system.environment.currentdirectory.aspx


Comments