c# Where does a path with no beginning default to? -


stream stream = new filestream("my file", filemode.create, fileaccess.write, fileshare.none); 

if have code this, path of stream defaults bin\debug .exe located. if .exe in directory, path default there? default same directory .exe is?

the root current working directory application. doesn't have same exe location, , can change during execution.

for example if in command line in directory c:\foo , run application c:\boo\my.exe path relative c:\foo

you can find or change working directory using enviroment.currentdirectory property


Comments

Popular posts from this blog

minify - Minimizing css files -

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -