In the C#
track, in the section introducing do-while
loops, the section has the following.
A less commonly used alternative to the above syntax is a
do-while
loop:
But there isn’t an example above to compare to, only the example that shows what the syntax looks like with a do-while
loop.