Using Decision Structures
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#|
Loop WhileLoop Until
|Looping structure or collections||For For Each||for foreach|
We'll go through ...