Episode

Visual Basic Fundamentals for Absolute Beginners: (07) Branching with the If..Then..Else Decision Statement

Branching allows us to add logic to our applications. In this lesson you're introduced to the If Decision statement (in its various forms) as well as the IIf conditional function. We also discuss how to refactor our code to make it more compact and less likely to produce errors by eliminating duplicate code.

Full course outline: