开发者

Problem using Add key value in app.config of c# windows application

I am trying to use the below in my app.config

<add key="InstanceID" value="HID\VID_413C&PID_3200\6&227E6开发者_运维百科ED3&0&0000" />

It shows error in app.config, what is the problem ? i want to use this value as string in my c# code.


You need to encode your special characters, example (& = &amp;). I think that's the only problem character.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜