Skip to content

Repository files navigation

بسم الله الرحمن الرحيم

Design Patterns

.NET Patterns

This repository provides a structured and practical guide to Design Patterns in C#, including explanations and simple console-based examples for each pattern.

For each patterns category, you will find

  1. Separate Markdown file for each pattern derived from this category, please read the file first.

  2. Simple console application contains an example for each pattern derived from a this category.

🚀 How to Use

  1. Start with the Overview of each category
  2. Read the pattern explanation
  3. Check the console example

🔥Most Used in Real Projects

These patterns are widely used in real-world backend applications and enterprise systems.

  1. Dependency Injection
  2. Repository and Unit of Work

🧩Creational Design Patterns

📌 Overview

📂 Examples

  1. Factory Design Pattern
  2. Factory Method Design Pattern
  3. Abstract Factory Design Pattern
  4. Builder Design Pattern
  5. Prototype Design Pattern
  6. Singleton Design Pattern

🧩 Structural Design Patterns

📌 Overview

📂 Examples

  1. Adapter Design Pattern
  2. Facade Design Pattern
  3. Decorator Design Pattern
  4. Bridge Design Pattern
  5. Composite Design Pattern
  6. Proxy Design Pattern
  7. Flyweight Design Pattern

🧩 Behavioral Design Patterns

📌 Overview

📂 Examples

  1. Iterator Design Pattern
  2. Observer Design Pattern
  3. Chain of Responsibility Design Pattern
  4. State Design Pattern
  5. Template Method Design Pattern
  6. Command Design Pattern
  7. Visitor Design Pattern
  8. Strategy Design Pattern
  9. Interpreter Design Pattern
  10. Mediator Design Pattern
  11. Memento Design Pattern

📚 References

🟢 Main Source

🔵 Additional References

About

No description, website, or topics provided.

Resources

Stars

58 stars

Watchers

6 watching

Forks

Releases

Packages

Used by

Contributors

Languages