在.net framework 2.0平台中更是使得处理配置文件更加方便、灵活。同时微软也提供了自定义配置文件处理类的功能,
实现自定义配置类主要通过继承ConfigurationSection或者实现IConfigurationSectionHandler
这篇文章介绍的方法是继承 ConfigurationSection的 MySampleConfigurationSection
































































































测试的app.config 文件













测试该Configuration代码


















转载于:https://www.cnblogs.com/zengyongjoy/archive/2007/12/29/1020452.html