Language (C#)
Loops in C#
In C# there are multiple ways to write a loop:
while
do-while
for
foreach
In this C# Pill I want to focus on the relation between two of them: the while
and the for
and to answer the following question:
Question
- Is the
for
statement just a condensed way of writing awhile
statement?
If you like my work and want to support me, you can buy me a coffee: