AppConfig key value pair
Hi I am facing a strange issue. In my application there is a requiremnt to remove special characters from a string. I am successfull able to achive this by reading a string of special chars from config appsettinf key-value pair.

EX :




    <appSettings>
    <add key="ExcludeSpecialChars" value ="%'^"/>
    </appSettings>



I am facing problem when I include & in the value
ex :

 key="ExcludeSpecialChars" value ="&%'^"

The application falis to build and showing error cannot parse the entity

Is there any work around so that I can include & in the specail chars string 


AppConfig key value pair
===

Hi I am facing a strange issue. In my application there is a requiremnt to remove special characters from a string. I am successfull able to achive this by reading a string of special chars from config appsettinf key-value pair.

EX :




    <appSettings>
    <add key="ExcludeSpecialChars" value ="%'^"/>
    </appSettings>



I am facing problem when I include & in the value
ex :

 key="ExcludeSpecialChars" value ="&%'^"

The application falis to build and showing error cannot parse the entity

Is there any work around so that I can include & in the specail chars string 

