Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nicofilips/csharp-designpatterns

A little Overview of Designpatterns. Implemented in C#
https://github.com/nicofilips/csharp-designpatterns

csharp design-patterns dotnet8

Last synced: 3 months ago
JSON representation

A little Overview of Designpatterns. Implemented in C#

Awesome Lists containing this project

README

        



Logo


Source: DALL-E 3


🔺 C# Designpatterns 🔺


A concise summary of design pattern implementations in C#!

[![Use Dotnet Pipeline Template](https://github.com/NicoFilips/csharp-designpatterns/actions/workflows/dotnet.yml/badge.svg)](https://github.com/NicoFilips/csharp-designpatterns/actions/workflows/dotnet.yml)

![C# Logo](https://img.shields.io/badge/C%23-239120?style=for-the-badge&logo=c-sharp&logoColor=white)
![](https://img.shields.io/badge/.NET-8-512BD4?style=for-the-badge&logo=.net&logoColor=white)

## About the Repository 📖

This repository is a comprehensive collection of design pattern examples in C#. It's intended for developers looking to deepen their understanding of design patterns and apply them in real-world software development. The patterns covered include Creational, Structural, and Behavioral patterns, providing a wide range of solutions to common software design challenges.

## Features 🚀

- **Creational Patterns** 🏭: Explore factory methods, abstract factories, singleton, builder, and prototype patterns with C# examples.
- **Structural Patterns** 🌉: Dive into adapter, composite, proxy, flyweight, facade, bridge, and decorator patterns.
- **Behavioral Patterns** 🧠: Learn through observer, strategy, command, iterator, mediator, memento, and state pattern examples.
- **Interactive Examples** 💡: Each pattern is demonstrated with fully interactive C# code examples.
- **Comprehensive Documentation** 📄: Detailed comments and explanations are provided for each example to ensure understanding.
- **Community Contributions** 👥: A collaborative space for developers to share improvements and new pattern examples.

## Getting Started 🏁

Clone the repository and explore the examples within. Each design pattern is contained in its separate directory with a README explaining its purpose, usage, and example code.

## Support 🆘

If you encounter any issues or have questions, [open an issue]([link-to-issues](https://github.com/NicoFilips/csharp-designpatterns/issues)) on our GitHub page.
See the [open issues](https://github.com/NicoFilips/csharp-designpatterns/issues) for a full list of proposed features (and known issues).

## Contributing 👥

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
Don't forget to give the project a star! Thanks again!

1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

## License 📄

Distributed under the MIT License. See `LICENSE` for more information.