Chapter 3 C # Language Foundation (2)

zhaozj2021-02-16  82

Third, Expression) A = b = c = D = 20

Four, blank (Whitespace) 1, space, tabs are called blank 2, C # uses a semicolon end, so there is no continuation

5. Statement 1, unconditional branch statement (1) call method (2) unconditional branch keyword: goto, break, continue, return, throw 2, conditional branch statement (1) if ... else (2) Nested IF (3) Switch Switch () {Case constant expression: statement jump statement [default: statement]} 3, loop statement (1) goto repeat: // Market Goto REPEAT; // Jump statement (2) While While (expression) statement (3) Do ... while do the statement while express (4) for for for for for for for for for for for for for for for for for for for for for for for for for for.; [5) Foreach (6) Continue, Break Continue Make the loop back to the top continues to perform Break termination cycles and end the rest of the rest

转载请注明原文地址:https://www.9cbs.com/read-10464.html

New Post(0)