# nemanjarogic/DesignPatternsLibrary

A comprehensive design patterns library implemented in C#, which covers various design patterns from the most commonly used ones to the lesser-known ones. Get familiar with and learn design patterns through moderately realistic examples.

Repository: https://github.com/nemanjarogic/DesignPatternsLibrary
Canonical: https://ross.abutalabs.com/products/designpatternslibrary
Language: C#
License Family: other
Topics: design, patterns, designpatterns, design-patterns, csharp, dotnet, architecture, principles, oop, gof-patterns, dotnet8
Last push: 2025-07-04T16:14:33+00:00

## Health v2 (maintenance only)
Score: 36/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 30, release rhythm 8, longevity 100
- inputs: {"age_days": 2071, "days_push": 425, "days_rel": 425, "gap_med": null, "n_releases_24m": 1}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2136, forks 220 (observed 2026-08-28T04:06:18.023366+00:00)

## What it is
A comprehensive C# library of 33 design patterns with 73 moderately realistic examples, covering Gang of Four patterns and lesser-known ones. It is an educational resource for learning when and how to apply creational, structural, and behavioral design patterns.

## Use cases
- learn design patterns in c#
- see real-world examples of gof patterns
- understand creational structural and behavioral patterns
- study oop architecture patterns in dotnet
- find when a design pattern becomes an antipattern
- reference implementation of adapter or abstract factory in c#

## When to choose
- you are learning or teaching design patterns in C#/.NET
- you want runnable, moderately realistic example code for each pattern
- you need a reference covering both common and lesser-known patterns

## When to avoid
- you need a production-ready pattern library to drop into an application
- you work outside the .NET/C# ecosystem
- you need a formally licensed dependency (no license is specified)

## Facets
- artifact type: learning-resource
- maturity: active
- function: developer-tools, documentation
- domain: developer-tools, tutorials, programming-languages
- platform: dotnet, cross-platform
- tags: design-patterns, gof-patterns, csharp, oop, software-architecture, educational-examples

## Member repositories
- nemanjarogic/DesignPatternsLibrary (main) score 36

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:18.023366+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:51:53.315033+00:00, confidence not recorded.
  - readme: https://github.com/nemanjarogic/DesignPatternsLibrary (fetched 2026-08-28T04:06:18.023366+00:00, sha 8a91983cc5b5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
