Problem Closed. This question is off-topic. It is not currently accepting answers. This question does not appear to be a […]
Tag: design-patterns
Generic Heap Implementation in C#
Problem This has been done a thousand times on here already, but here’s another binary heap implementation. The implementation is […]
OO design for Tic Tac Toe program
Problem I am practicing object oriented design and have taken Tic Tac Toe as an example. I have written first […]
Implementation of bridge design pattern for a web scraping app – follow-up
Problem Earlier today I tried to implement an example of the bridge design pattern, but I ended up misinterpreting it. […]
Input field that dynamically monitors model value
Problem This question is regarding my approach to the following implementation requirement. Can you suggest a better alternative that doesn’t […]
Parallel Job Consumer using TPL
Problem I need to provide a service (either a Windows Service or an Azure Worker Role) which will handle the […]
Composite and Visitor patterns for tree-based survey functionality in C#
Problem I have written some survey functionality for a project. Basically, a generic survey form that can be composed of […]
PHP Dependency Injections w/ Router
Problem I’ve been working on a personal from-scratch project for the purpose of learning, and so far I’ve been able […]
Create database connection and run the insert, delete, update queries class
Problem Recently while developing our demo project I had to a write a lot of repetitive code for executing the […]
Is this a sensible way of using an IoC container?
Problem I have a Factory class for a queuing system I’m playing around with. Consuming classes only care that they […]