# TheAlgorithms/C-Sharp

All algorithms implemented in C#.

Repository: https://github.com/TheAlgorithms/C-Sharp
Canonical: https://ross.abutalabs.com/products/c-sharp
Language: C#
License: GPL-3.0
License Family: copyleft
Topics: c-sharp, algorithms, algorithms-and-data-structures, data-structures, hacktoberfest, algorithm
Last push: 2025-11-16T18:24:30+00:00

## Health v2 (maintenance only)
Score: 56/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 52, release rhythm 35, longevity 100
- inputs: {"age_days": 3687, "days_push": 290, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 8177, forks 1706 (observed 2026-08-28T04:10:14.057079+00:00)

## What it is
A curated collection of algorithms and data structures implemented in C# for educational purposes. It covers topics across computer science, mathematics, statistics, and machine learning, with documentation aimed at educators and students.

## Use cases
- learn how classic algorithms are implemented in C#
- study data structures with annotated C# examples
- find reference implementations of sorting, graph, and crypto algorithms
- compare different algorithm strategies for the same problem
- use as teaching material for computer science courses
- prepare for coding interviews by reviewing algorithm implementations

## When to choose
- you want readable, educational C# implementations of well-known algorithms
- you are a student or educator needing reference code with documentation
- you want to see multiple approaches to the same algorithmic problem

## When to avoid
- you need a production-grade, performance-optimized algorithm library
- you require licensing more permissive than GPL-3.0 for commercial use
- you need battle-tested cryptographic primitives for real security work

## Facets
- artifact type: learning-resource
- maturity: active
- function: developer-tools
- domain: education, tutorials
- platform: cross-platform, dotnet
- tags: c-sharp, data-structures, algorithms, educational, hacktoberfest

## Member repositories
- TheAlgorithms/C-Sharp (main) score 56

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:14.057079+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-29T17:29:34.764868+00:00, confidence not recorded.
  - readme: https://github.com/TheAlgorithms/C-Sharp (fetched 2026-08-28T04:10:14.057079+00:00, sha efbad46c2aa0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
