C# supports many of the conditional, iteration, and flow control statements used in C. In this section, I'll discuss statements built around the if, else, do, while, switch, case, default, for, foreach, in, break, continue, and goto keywords.
The if and elseconstruction looks the same as in C:
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.