While Loop

Repeat a block of code for as long as a condition stays true with C#'s while loop, and make sure the loop can end.

Updated

Cheat sheet: While Loop
Category
C#
Level
Novice
Tags
Console.ReadLine(), c-sharp, Infinite Loop (c-sharp), Iteration, while Loop (c-sharp)