August 2015
Beginner
1075 pages
40h 42m
English
You can use the operators discussed previously to test for specific conditions in your code. These tests are then evaluated so you can make a decision on what code to execute or where to branch off in your application. There are three primary decision structures in .NET programming: If...Then...Else, Select...Case, and Try...Catch...Finally (as covered in the “Exception Handling” section later in this chapter).
You can use the If syntax in your code to test one or more conditions. Based on the results of your test, you might decide to execute one set of code if the condition proves true and another set of code if the condition proves false. You can also get into more complex scenarios by nesting ...
Read now
Unlock full access