C# Corner
Tech
News
Videos
Forums
Trainings
Books
Events
More
Interviews
Jobs
Live
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
Java
Learn iOS Programming
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
1
Reply
When to Use a Factory Pattern
Ravi Kumar
19y
7.4k
0
Reply
Submit
When a class does not know which class of objects it must create.
A class specifies its sub-classes to specify which objects to create.
Generally, you can use factory pattern where you have to create an object of any one of sub-classes depending on the data provided.
Moses Soliman
19y
0
What are the different types of Design Patterns and Explain them?
How do you report the status of your project
Message