Appendix B. Boo language syntax

 

This appendix is intended as a language reference. It lists the Boo syntax, compares it to the C# equivalent, and provides a few words of explanation. In many cases, the Boo and C# syntax are similar, in both shape and intent.

Note

For a more explanatory guide to Boo, see appendix A.

B.1. Interesting keywords

Assuming that you are already familiar with another programming language, the Boo syntax should be familiar to you. Table B.1 compares Boo syntax to the equivalent C# syntax.

B.2. Conditionals

B.3. Loops and iterations

B.4. Type declarations

B.5. Methods, properties, and control structures

B.6. Useful macros