c# - Escape & character in string -


i want set value appconfig key,but value contains & character.i tried double && "8l&&l26x0s8@p" dont working.can me please?

 <add key="sap_pass" value="8l&l26x0s8@p"/> 

as app.config xml file, use xml entities this.

specifically & coded &amp; (including semicolon) in xml.


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -