我正在尝试学习如何使用ConfigurationSection类。我曾经使用IConfigurationSectionHandler但发布它已被折旧。所以作为一个好child,我正在尝试“正确”的方式。我的问题是它总是返回null。我有一个控制台应用程序和一个DLL。classProgram{staticvoidMain(string[]args){StandardConfigSectionHandlersection=StandardConfigSectionHandler.GetConfiguration();stringvalue=section.Value;}}应用配置:DLL