I have an app.config
file in my project and I am able to read from it using
public static String baseURL = ConfigurationManager.AppSettings["baseURL"];
My problem is I have lots of entries in my app.config
file and I want to have multiple config files to split the data logically.
So I basically want to have several config files as follows:
Strings.config (to hold all Strings)
Urls.config (to hold all URLs)
Settings.config (to hold all settings)
Credentials.config (to hold all credentials)
How can I read values from different config files?