---
title: "Discussion on \"How to Use Loops in C#\" | Hashnode"
description: "Discussion on \"How to Use Loops in C#\". Writing the same code repeatedly is poor practice in C# and doesn’t follow the Don’t Repeat Yourself (DRY) principle. But, there are many times in programming where you need to repeat commands, operations, or computations multiple times — perhaps cha..."
url: "https://hashnode.com/posts/how-to-use-loops-in-c/68caa6382769a3737407de1b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Use Loops in C#](https://freecodecamp.org/news/how-to-use-loops-in-c?utm_source=hashnode&utm_medium=feed)

Writing the same code repeatedly is poor practice in C# and doesn’t follow the Don’t Repeat Yourself (DRY) principle. But, there are many times in programming where you need to repeat commands, operations, or computations multiple times — perhaps cha...

Sep 17, 2025 · 7 min read · freecodecamp.org  
Read the article

-   [#csharp](https://hashnode.com/tag/csharp)
-   [#loops](https://hashnode.com/tag/loops)

## Written by

[Grant Riordan](https://hashnode.com/@grantdotdev)

@grantdotdev · Leeds,UK

  
[View profile](https://hashnode.com/@grantdotdev)

Lead Devoloper and Tech Author

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
