Hour 6. Visual Basic .NET Control Structures

In the last hour we looked at variables and operators in Visual Basic .NET, two important concepts in any programming language. In this hour we will examine an equally important aspect of all programming languages—control structures.

Control structures are constructs that alter the control flow during a program's execution. Without control structures, programs are executed by running the first line of code, then the second, and so on, where each line of code is executed precisely once in the order in which it appears.

Control structures, however, alter the order of instruction execution and can allow for a group of instructions to execute more than once. The control structures that we'll be examining ...

Get SAMS Teach Yourself ASP.NET in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.