forum

Home / DeveloperSection / Forums / ConfigurationManager.AppSettings convert “\n” to “\\n” why?

ConfigurationManager.AppSettings convert “\n” to “\\n” why?

Anonymous User175122-Aug-2014

I have a AppSetting in web.config.

<add key="key" value="\n|\r"/>

When i read it by ConfigurationManager.AppSettings["key"] it gives "\\n|\\r". Why ?


Updated on 22-Aug-2014
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By