This repository contains simple console-based implementations of common Design Patterns in C#.
Each pattern is isolated in its own folder for clarity and learning purposes.
⚙️ Created by Farouk Abdelhamid to demonstrate practical knowledge of software design patterns.
| Pattern | Description |
|---|---|
| Singleton | Ensures a class has only one instance and provides a global access point to it. |
| Factory | Creates objects without exposing the instantiation logic to the client. |
| Observer | Defines a one-to-many dependency between objects. |
| Strategy | Enables selecting an algorithm at runtime. |
| Repository | Provides a way to separate data access logic from business logic. |
| Decorator | Adds new functionality to an object without altering its structure. |
| Command | Encapsulates a request as an object. |
More patterns will be added gradually...
- Clone the repository:
git clone https://github.com/farouk4web/DesignPatternsDemo.git cd DesignPatternsDemo