How to specify comma , space unicode value in app.config(C#3.0)

Posted by Newbie on Stack Overflow See other posts from Stack Overflow or by Newbie
Published on 2010-06-11T06:12:29Z Indexed on 2010/06/11 6:22 UTC
Read the original article Hit count: 149

Filed under:

In the app.config file if I use <add key = "FileDelimeter" value ="&#2c;"/> as unicode for COMMA, it is throwing error

Invalid character in a decimal number 'c'

For SPACE, <add key = "FileDelimeter" value ="&#20;"/> the error is

Character'', hex value 0*14 is illegal in xml

while <add key = "FileDelimeter" value ="&#09;"/> for "\t" worked.

Where is the mistake?

Kindly give a generic solution.

Thanks

© Stack Overflow or respective owner

Related posts about c#3.0