Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

C Sharp for Beginners/Looping

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

while (myInt < 10){ // do things... myInt++; } Do loops are like while loops, except they always execute at least once. do { // do things... } while (myVar != false); for (int i=0; i < 10; i++){ if (i == 10) break; if (i % 2 == 0) continue; // do things }