I have a config file, myapp.exe.config.
In the file I have an attribute with a fullpath filename as the value.
<add key="InfoFile" value="c:empinfo.txt" />
It seems to work if I use a single or double backslash. That is,
<add key="InfoFile" value="c:\temp\info.txt" />
works also. What is the correct way to do this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…