custom configuration in app.config C# refresh code example
Example: how to reload app.config file at runtime in c#
public static void RefreshAppSettings()
{
ConfigurationManager.RefreshSection("appSettings");
}
public static void RefreshAppSettings()
{
ConfigurationManager.RefreshSection("appSettings");
}