Skip to content

El-Mohamed/Design-Patterns

Repository files navigation

Design Patterns

Code Examples in C# (Separate Console Apps For Each Pattern)

Todo List

  • Strategy
  • Observer
  • Singleton
  • Decorator
  • Command
  • State
  • Factory
  • Template Method
  • Adapter

Strategy Pattern

  • Ducks

Strategy Pattern

  • Price Data & Display

Singleton Pattern

  • People

Decorator

  • Beverages

State Pattern

  • Car

Command Pattern

  • Simple Light Bulb
  • Remote With Mutltiple Slots
  • Fan With States
  • Macro Commands

Factory Pattern

  • Pizza & Pizza Store

Template Method Pattern

  • Coffee & Tea

Adapter Pattern

  • Ducks

About

Design Patterns Examples in C#

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages