garywoodfine.com
How to use Factory Method Design Pattern in C# | Gary Woodfine
Factory Pattern creates objects, in this post we will implement the factory design pattern in a C# application. Using the Factory pattern, we develop an abstraction that isolates the logic for determining which type of class to create.