how to reload app.config file at runtime in csharp

Code Example - how to reload app.config file at runtime in csharp

                
                        public static void RefreshAppSettings()
{
   ConfigurationManager.RefreshSection("appSettings");
}