小编Rou*_*nov的帖子

如何使用C#检索.config文件中的自定义配置节列表?

当我尝试使用时检索.config文件中的部分列表

Configuration config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
Run Code Online (Sandbox Code Playgroud)

config.Sections集合包含一堆系统部分,但我没有在configSections标记中定义文件的部分.

c# configurationmanager configsection

7
推荐指数
1
解决办法
3110
查看次数

标签 统计

c# ×1

configsection ×1

configurationmanager ×1