Adapter pattern helps adapt an interface to the one that a client expects.
Category: design patterns
Factory Pattern Instantiations
One of the advantages of factory patterns is the flexibility they provide in terms of declaring the information required to instantiate a factory. In this post we will look at some of the methods of factory instantiation using config file, discuss their usage scenarios and also discuss how the DbProviderFactories decides which DbProviderFactory to instantiate.
Factory Patterns in C#
Factory patterns are types of Creational Patterns which can be used to instantiate objects freeing client programs from object creation tasks. The types of factory patterns we will discuss here, with an example, are simple factory, factory method and abstract factory.

