/DesignPatternsCSharp

Learning design patterns in C#

Primary LanguageC#

Design Patterns in CSharp

There are 23 design patterns also known as Gang of Four design patterns (GoF). Gang of Four are the authors of the book, “Design Patterns: Elements of Reusable Object Oriented Software”. These 23 patterns are grouped into three main categories based on their:

  1. Creational Design Pattern
  • Factory Method
  • Abstract Factory
  • Builder
  • Prototype
  • Singleton
  1. Structural Design Patterns
  • Adapter
  • Bridge
  • Composite
  • Decorator
  • Facade
  • Flyweight
  • Proxy
  1. Behavioral Design Patterns
  • Chain of Responsibility
  • Command
  • Interpreter
  • Iterator
  • Mediator
  • Memento
  • Observer
  • State
  • Strategy
  • Visitor
  • Template Method