Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/design-patterns/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 3.0 在app.config中维护字符串列表_C# 3.0 - Fatal编程技术网

C# 3.0 在app.config中维护字符串列表

C# 3.0 在app.config中维护字符串列表,c#-3.0,C# 3.0,我想在app.config中维护字符串列表: 例如: 破碎机 泊位 OBP 然后使用此列表填充winform上的combobox 如何从app.config(c#)中读取此内容 谢谢使用本课程 <ResourceTypes> <Resource>Crusher</Resource> <Resource>Berth</Resource> <Resource>OBP</Resource&g

我想在app.config中维护字符串列表: 例如:


破碎机
泊位
OBP
然后使用此列表填充winform上的combobox

如何从app.config(c#)中读取此内容

谢谢

使用本课程

   <ResourceTypes>
    <Resource>Crusher</Resource>
    <Resource>Berth</Resource>
    <Resource>OBP</Resource>
   </ResourceTypes>