starshubham/creationaldesignpatterns ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple C# .NET solution that demonstrates the main creational design patterns in a way that’s easy to learn from.
I want clear examples for Singleton, Factory Method, Abstract Factory, Builder, and Prototype, with each one showing what problem it solves and a small working example I can run. Please keep the code beginner friendly, add short comments, and make the output easy to read in the console so I can see what each pattern is doing.
For Singleton, show a real world use like logging or app settings. For Factory Method, show different payment types or something similar. For the other patterns, use practical examples too, not just theory. If it helps, include a simple menu or separate demo methods so I can run each pattern one by one.
If anything is unclear, look up current .NET best practices online and keep the project modern and clean.
Are you gonna build this?
make sure you review the code using arcumet