7. C# Language, Part 3: Intransitive Verbs
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 ...
Get Fluent C# 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.