A Quick Introduction to While Loops in C#

In this article, we’ll be taking a look at while loops, and their variation, do-loops.

What is a While Loop?

A While Loop is a programming structure that is used to repeat a line or block of code until a condition is met. While loops are often used within , which can prevent the dreadful infinite loops from happening.

While Loop Syntax Flowchart



An ambitious narrative designer seeking to learn more about game development and software engineering. In this documentation hub, I share my skills and learning

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store