Articles → .NET DESIGN PATTERN → Factory Method Design Pattern
Factory Method Design Pattern
Click to Enlarge
Step I - Create the interfaces of product.
Step II - Create concrete product classes which will
inherit the product interface.
Step III - Create a class for factory that contains the method
that will return the product interface
Step IV - Finally use the factory class to get the product