配置文件appconfig中
<add key="shujuKey" value="shujuValue" />
在代码中使用
string shujuValue = ConfigurationManager.AppSettings["shujuKey"];
配置文件appconfig中
<add key="shujuKey" value="shujuValue" />
在代码中使用
string shujuValue = ConfigurationManager.AppSettings["shujuKey"];