© 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_20

20. First Loops

Radek Vystavěl1  
(1)
Ondřejov, Czech Republic
 

You are entering the most difficult chapters of this book. Loops are a mighty tool that all programmers need as much as the air they breathe. Understanding loops is not easy, which is why you will go through many exercises with loops.

Repeating the Same Text

A loop is a tool to efficiently write repetitions of the same or more often a similar activity. So that you can properly appreciate loops, you will solve some of the tasks twice, first without a loop and then with it. You will start with some repetition ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.