11,579 questions
@Padmanabhan, Venkatesh You will need to add System.Configuration assembly reference to access configuration settings, using ConfigurationManager. To add the reference, just right click References and click to add references. In C# application you can use the following code:
var applicationSettings = ConfigurationManager.GetSection("TestSIS") as NameValueCollection; // for reading MatchMMDS replace TestSIS to MatchMMDS
if (applicationSettings.Count == 0)
{
Console.WriteLine("Application Settings are not defined");
}
else
{
foreach (var key in applicationSettings.AllKeys)
{
Console.WriteLine(key + " = " + applicationSettings[key]);
}
}