0
kicks
Design Patterns – Using the Builder Pattern in C#
The Builder Pattern falls under the category of the Creational Patterns as it controls the instantiation of a class. This pattern is suitable in scenarios in which an object is made up several parts and the constituent parts need to be created in the same order using an algorithm. A real world example is in making a pizza. A pizza is made up of several parts (the crust, cheese and the toppings) that are constructed using an algorithm (bake the crust, add cheese and add the toppings).