What are the different Creational Design Patterns that can be used in .NET Architecture?

Creational Patterns provide ways of instance creation.



There are five different creational patterns. They are listed below:

Factory Method Pattern: It gives you a class which takes the decision of which instance corresponding to which derived class has to be created and returns that instance.
Abstract Factory Pattern: It gives you an interface through which you can create set of related objects.
Singleton Pattern: This pattern forces a restriction that only one instance of a class has to be created.
Builder Pattern: This pattern is useful if you have to represent complex objects. In such cases, this pattern separates construction from representation of that object. With this approach, you can create any number of representations for an object.
Prototype Pattern: With this pattern you create an instantiated class and then copy it to create new instances.

| How do you implement Observer Design Pattern in .NET? | How do you pass data between different Tiers in .NET Architecture? | How is Classic ADO different from ADO.NET? | How is Dataadapter useful in ADO.NET? | How is Datareader different from Dataset in ADO.NET? | How is .NET Application Development different from Traditional Development? | How is HashTable different from ArrayList in .NET? | How is Inheritance achieved in C#? | How is new keyword different from override keyword during inheritance in .NET? | How is String class different from StringBuilder class in .NET? | Illustrate ADO.NET Architecture | Illustrate the importance of Server.Transfer and Response.Redirect in .NET? | Mention the different objects available in Dataset of ADO.NET | Mention the usage of Connection Object in ADO.NET | What are the commonly used methods of Dataadapter in ADO.NET? | What are the different Behavioral Design Patterns that can be used in .NET Architecture? | What are the different Creational Design Patterns that can be used in .NET Architecture? | What are the different Structural Design Patterns that can be used in .NET Architecture? | What are the methods provided by Command Objects in ADO.NET? | What is Internal Access Modifier in C#? |


“Amazon and the Amazon logo are trademarks of Amazon.com, Inc. or its affiliates.”

| Privacy Policy for www.dotnet-guide.com | Disclosure | Contact |

Copyright - © 2004 - 2024 - All Rights Reserved.