I need to access working directory from code in C#
in MSVS 2013
like:
C:\SomePath\Visual\NameOfTheProject\
In java
we can access it System.getProperty("user.dir")
Does C#
have equivalent?
@update
Problem is that I need to search folder X
for implementations of some interface. App will be executed on different machines, so I should have a path which will always navigate me to folder X
@update2
I need to look for the folder with dlls
which is named X
in the folder where I execute the app (so my assembly).