Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
App.Config Question
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
App.Config Question
Miscellaneous
Thread ID:
01324941
Message ID:
01324941
Views:
72
I have the following code:
string s = ConfigurationSettings.AppSettings["MySetting"].ToString();
I get the warning:

'System.Configuration.ConfigurationSettings.AppSettings' is obsolete: 'This method is obsolete, it has been replaced by
System.Configuration!System.Configuration.ConfigurationManager.AppSettings'

What's the right way to do this?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Next
Reply
Map
View

Click here to load this message in the networking platform