给config文件添加自定义section
<configSections>
<section name="ProjectSection" type="ConsoleApplication1.ProjectSection, ConsoleApplication1"/>
</configSections>
<ProjectSection name="ProjectCompany">
<role name="administartor"/>
<role name="manager"/>
<role name="support"/>
</ProjectSection>
</configuration>