Design Patterns – Using the Builder Pattern in C#(dotnetcube.com)
submitted by
dncdude(1350) 2 years, 8 months ago
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).
|category: C#
|Views: 410
tags:
C# another
Everyones tags:
Your Tags: