error storing < and > characters in app.config file in C#

app-config, c#, configuration, configuration-files, configurationmanager

Solution

Just change the `<` and `>` to `&lt;` and `&gt;.`

Problem

I want to store a sql query in app.config file which has < and > characters but file shows error 'expecting >' , have you come across this problem ?

Original source