#749 – Example of Some C# Design Patterns
January 2, 2013 1 Comment
There is a nice little project over at Codeplex that includes a bunch of examples of common design patterns, written in C#.
Tutorial: Common Design Patterns in C# 4.0
This project appears to be only partially done, but does include an implementation of the following design patterns:
- Abstract Factory
- Builder
- Factory Method
- Prototype
- Singleton
- Adapter
- Bridge
The project has placeholders for other patterns, including:
- Composite
- Decorator
- Facade
- Flyweight
- Proxy
- Chain of Responsibility
- Command
- Interpreter
- Iterator
- Mediator
- Memento
- Observer
- State
- Strategy
- Template Method
- Visitor
These patterns all come from the well known “Gang of Four” book, Design Patterns: Elements of Reusable Object-Oriented Software. (Gamma, Helm, Johnson, and Vlissides).
The project has been dormant since July, 2011. So this is perhaps an opportunity for some other software developers out there to contribute to the project by implementing some of the remaining patterns.