获取百度URL
var url = System.Configuration.ConfigurationManager.AppSettings["BaiduUrl"];
<configuration> <appSettings> <add key="BaiDuUrl" value="http://baidu.com" /> </appSettings> </configuration>
获取百度URL
var url = System.Configuration.ConfigurationManager.AppSettings["BaiduUrl"];
<configuration> <appSettings> <add key="BaiDuUrl" value="http://baidu.com" /> </appSettings> </configuration>