© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
R. VystavělC# Programming for Absolute Beginnershttps://doi.org/10.1007/978-1-4842-7147-6_25

25. Advanced Loops

Radek Vystavěl1  
Ondřejov, Czech Republic

In this chapter, you will complete the topic of simple loops. That’s simple in a sense of “not nested,” not in a sense of “trivial.” No loops are trivial, especially the loops in this chapter.

The chapter and the whole book will close with a bonus: a moon landing simulation game. If you find the exercises in this chapter too difficult, play the game only.

Thank God It’s Friday (TGIF)

It is time to get acquainted with the while loop, which is a cousin of the do-while loop you are already familiar with. ...

Get C# Programming for Absolute Beginners: Learn to Think Like a Programmer and Start Writing Code now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.