October 2011
Intermediate to advanced
888 pages
15h 10m
English
In the last chapter we explored C# expression syntax and had our first look at working with the objects of object-oriented programming. In this chapter, we’ll finish up our examination of the C# language syntax by examining the intransitive verbs of the language: commands.
There are two important types of commands in C#, and we’ll examine both of them in this chapter. Control-of-flow commands determine what code executes when (and how often). Exception handling commands tell your application what to do when things don’t go quite as expected, which of course things do, more often than not.
Although it’s not unknown for a program to start execution at line one and continue, line by line, to the end, most ...
Read now
Unlock full access