&amp;amp;lt;add key=&amp;quot;LoggingProvider&amp;quot; value=&amp;quot;ProvidersDemo.FileLogger, ProvidersDemo&amp;quot;/&amp;amp;gt;
Now if you run the program again, you will see that our application would have started using the file logger class.
Providers provide a lot of flexibility and allow us to write extensible code in .Net framework. The concept is rooted from Strategy pattern and is extensively used by .Net framework itself. You might have used ASP.Net Membership providers in the past. Whenever you want to create a plug-able component, you can use providers and they will give you a lot of flexibility.