I'm dealing with a C# class library that should have the option to peruse settings from the
web.config
or
app.config
file.
I've found that
ConfigurationSettings.AppSettings.Get("MySetting")
works, yet that code has been set apart as deprecated by Microsoft.
I've perused that I ought to utilize:
ConfigurationManager.AppSettings["MySetting"]
In any case, the System.Configuration.ConfigurationManager class doesn't appear to be accessible from a C# Class Library project.
What is the most ideal approach to do this?