Congfig files .Net2 [RESOLVED]
Just moving form C# 1.1 to C# 2 trying to use an onfig file to store information
easy in .Net 1.1.
Code:
private void button1_Click(object sender, EventArgs e)
{
string setting;
setting = System.Configuration.ConfigurationSettings.AppSettings.Get("test");
MessageBox.Show(setting);
}
now this works in .Net 2 but is telling me that it is obsolete and should be using
Quote:
Warning 1 'System.Configuration.ConfigurationSettings.AppSettings' is obsolete: 'This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings' c:\Phil Coffe\Sirius Reports\ConfigTest\ConfigTest\Form1.cs 22 23 ConfigTest
found some doctmentation on the ConfigurationManager but the class does not seem to be in my intellie scenece so really am stumped
ANy help would be great!