Design Patterns In C# - Creational Design Patterns
Creational Design Patterns
SOFTWARE DESIGN PATTERNS
Design patterns = Software/coding design patterns that should be considered at every phase of software development right from designing the overall architecture of the software project to coding of small unit functionalities.
Keeping these Design Patterns in mind during software development helps towards developing an scalable, highly reusable and easily maintainable code.
Software Design Patterns are broadly categorized into three groups – Creational, Structural and Behavioral.
In this post we'll look at the Creational design patterns.
CREATIONAL DESIGN PATTERNS
Creational design patterns can be further categorized into five types:
Abstract Factory | Creates an instance of several families of classes. |
Factory Method | Allows to create an object without specifying its type. |
Builder | Object construction is separate from its representation. |
Prototype | Allows to clone an initialized instance of a class |
Singleton | A singleton class is designed in such a way that only one of its instance can exist at a time in the application. |
Next: Abstract Factory Pattern |