using  System;
using  System.Collections.Generic;
using  System.Text;
using  System.Configuration;
using  System.Collections;

namespace  ServicesConfiguration
{
    
public class ConfigurationDispose
    
{
        
public ConfigurationDispose()
        
{
        }


        GetConfiguration
GetConfiguration

        GetConfigurationList
GetConfigurationList

        SetConfiguration
SetConfiguration

        SetConfiguration
SetConfiguration
    }


}

自己做的小例子,很简单,就是一个读取其中配置信息
 
App.Config
xml version="1.0" encoding="utf-8"  ?>
< configuration >
  
< appSettings >
    
< add  key ="User"  value ="Mgod" />
    
  
appSettings >

configuration >
using System.Configuration


        
private void button1_Click(object sender, EventArgs e)
        {
            
//this.textBox1.Text = ConfigurationManager.AppSettings["User"];//使用它必须引用System.configuration程序集
            this.textBox1.Text= ConfigurationSettings.AppSettings["User"];//虽然已过失,但是还能用!
        }