Skip to content

farouk4web/DesignPatternsDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Design Patterns Demo (C#)

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.


📂 Patterns Included

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...


🛠️ How to Run

  1. Clone the repository:
    git clone https://github.com/farouk4web/DesignPatternsDemo.git
    cd DesignPatternsDemo

About

This repository contains simple console-based implementations of common **Design Patterns** in C#.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages