阅读背景:

ConfigurationManager.AppSettings [“SettingName”] vs Properties.Settings.Default.SettingName何时应该使用每个?

来源:互联网 

What should dictate when I should use the configurationManager.AppSettings or the strongly typed settings that visual studio generates? The strongly typed ones seem much more appropriate in most cases, but I suppose that it would be possible to add settings dynamically to a deployed application using the ConfigurationManager approach, but are there any guidelines under which circumstances each is designed to be used? What should dictate when I should use the confi




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: