Creational Design Pattern in .NET
Software design patterns provide an architecture or template used to design and solve recurring software problems and tasks. Applying time-tested patterns result in inextensible, maintainable and flexible high-quality code, shows superior craftsmanship of a software engineer. Being well-versed in the knowledge of design patterns allows one to spot brittle and immature code from miles away. The Creational Design Pattern deals with object creation mechanisms, trying to create objects in a manner suitable to the situation. The Creational Design Pattern deals with object creation mechanisms and trying to create objects in a manner suitable to the situation. It focuses on how the objects are created and utilized in an application. Factory Method Design Pattern Factory method design pattern is one of the most used design pattern in .NET. It is used for solve the problem related to object creation. It says that just define an interface or abstract class for creating an object but let the subclasses decide which class to instantiate. In other words, subclasses