# DRY Code in C#

When several classes repeat the same properties and methods, the code breaks the DRY rule (Don't Repeat Yourself). One class that does everything isn't the answer either.

![Cheat sheet: DRY Code in C#](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/3cc7d43bdb864c38ae5d24aec2e62fac.webp)

- Category: C#
- Level: Novice
- Tags: cohesion, c-sharp, DRY Principle, OOP
- Updated: November 3, 2026

Source: https://www.ask-codey.com/cheat-sheets/dry-code-in-csharp-cheat-sheet
