© Bipin Joshi 2016
Bipin JoshiBeginning SOLID Principles and Design Patterns for ASP.NET Developers10.1007/978-1-4842-1848-8_33. Creational Patterns: Singleton, Factory Method, and Prototype
Bipin Joshi1
(1)301 Pitruchhaya, Thane, India
Gang of Four (GoF) patterns are classified into three categories: creational, structural, and behavioral. In this chapter, you will begin by dissecting a few creational patterns. As the name suggests, creational patterns are design patterns that deal with creation of objects, or object instantiation. The C# language uses the new keyword to instantiate an object of a class. Typically, you use the new keyword wherever that object is being utilized. However, this means you must specify a concrete type name at that ...