在C#中的app.config文件中存储<和>字符时出错

dny*_*n86 4 c# configuration configurationmanager app-config configuration-files

我想在app.config文件中存储一个sql查询,该文件有<和>字符但文件显示错误'expecting>',你遇到过这个问题吗?

aqu*_*nas 10

只需改变<>to &lt;&gt;.