thangchung/clean-code-dotnet

:bathtub: Clean Code concepts and tools adapted for .NET

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 2 minutes ago
Added to GitGenius on September 8th, 2026
Created on September 11th, 2017
Open Issues & Pull Requests: 46 (+0)
GitHub issues: Enabled
Number of forks: 1,140
Total Stargazers: 7,736 (+1)
Total Subscribers: 289 (+0)

Repository Insights (GitGenius)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 0
New in 7 days: 0
Closed in 7 days: 0
Avg open age: N/A days
Stale 30+ days: 0
Stale 90+ days: 0

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Clean Code .NET is a guide to applying clean code principles adapted for the .NET and .NET Core ecosystem.

The project addresses the challenge of writing readable, reusable, and refactorable code in .NET by translating Robert C. Martin's Clean Code principles into language-specific guidance. It covers practical topics including naming conventions, variable declaration, function design, object and data structure organization, class design, SOLID principles, testing strategies, concurrency patterns, error handling, code formatting, comments, and related best practices. The guide presents bad and good code examples side by side to illustrate each principle, making the concepts concrete and immediately applicable.

Developers working on .NET or .NET Core projects should consider this guide if they want to improve code quality and maintainability within their team. It works best as a reference during code reviews and team discussions about coding standards, helping establish shared expectations around clean code practices. The guide is explicitly positioned as a set of guidelines rather than strict rules, acknowledging that not every principle will apply universally or be agreed upon by all teams. It is inspired by similar clean code collections for other languages, adapting those concepts to .NET idioms and conventions.

The project maintains a structured, comprehensive reference with expandable sections covering distinct aspects of code quality. The repository includes links to related resources, style guides, tools, and cheatsheets, positioning itself as a curated entry point into the broader clean code conversation for the .NET community.