Study Notes (39): C # fast entry -do-while loop

Learning immediately: https://edu.csdn.net/course/play/20589/257746?utm_source=blogtoedu

do-while loop

1. grammatical structure

do
{
    //循环体
}while(循环条件);

 

2. Different points of the while loop 

(. 1) do-while loop body is executed first, and then determine the conditions, the do-while loop executed at least once

(2) while the cycle is the first determination condition, and then performs the loop body is executed at least once 0

Published 34 original articles · won praise 0 · Views 308

Guess you like

Origin blog.csdn.net/u013162262/article/details/104869691