Add looping logic to your code using the do-while and while statements in C#

Use the do-while and while statements to iterate as long as a Boolean expression evaluates to true.