Software Design Patterns

The Builder Pattern .net core

Builder Pattern is useful for encapsulating and abstracting the creation of objects. It is distinct from the more common Factory Pattern because the Builder Pattern contains methods of customising the creation of an object.

How to use Factory Method Design Pattern in C#

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.