January 2003
Beginner
696 pages
16h 38m
English
Now that you have an understanding of the common data types and common operators, you can dig into using decision structures. Decision structures are program elements that control the flow of your application based on decisions made about the value of variables or events fired by the user.
Table 8.5 lists the decision structures by group in Visual Basic .NET and C# and gives the keywords that you'll use when implementing decision structures in your code.
| Type | Visual Basic .NET | C# |
|---|---|---|
| Selection | Select Case | switch |
| Decision | If...Then | if...else |
| Looping | While | Do |
| Do
Do Until Loop While Loop Until | While | |
| Looping structure or collections | For For Each | for foreach |
We'll go through ...
Read now
Unlock full access