Table of Contents
- Introduction and Tutorial
- 1.1 Getting Started
- 1.2 Hello, World!
- 1.3 Global Functions
- Chapter 1 - Exercises
- Expressions
- 2.1 What are Operators?
- 2.2 Comments
- Chapter 2 - Exercises
- Variables and Types
- 3.1 Local Variables
- 3.2 Types
- Chapter 3 - Exercises
- Lists, Dictionaries, and Tuples
- 4.1 Lists
- 4.2 Dictionaries
- 4.3 Tuples
- Chapter 4 - Exercises
- Conditionals
- 5.1 if-else Statements
- 5.2 while Loops
- 5.3 until Loops
- 5.4 do while loops
- 5.5 for loops
- 5.6 foreach loops
- 5.7 More with Loops
- Chapter 5 - Exercises
- Functions
- 6.1 Writing Global Functions
- 6.2 Function Overloading
- Chapter 6 - Exercises
- Classes and OOP
- 7.1 Static Classes
- 7.2 OOP
- Chapter 7 - Exercises
- Modules
- 8.1 Importing a Module from File
- 8.2 Writing C# Modules
- 8.3 Builtin Modules
- Chapter 8 - Exercises
- Standard Library
- 9.1 Random
- 9.2 UI
- 9.3 File IO
- 9.4 Networking
- Chapter 9 - Exercises
- Threading
- 10.1 Declaring a Thread
- 10.2 Thread Management
- 10.3 Returning from a Thread
- 10.4 The thread do Statement
- Chapter 10 - Exercises
- Traits and Enums
- 11.1 Traits
- 11.2 Enums
- Chapter 11 - Exercises
- Exceptions
- 12.1 Common Exceptions
- 12.2 The try catch Statement
- 12.3 Raising Exceptions
- Chapter 12 - Exercises
- Advanced Topics
- 13.1 Command Line Arguments
- 13.2 Numerical Bases
- 13.3 Bitwise Operations
- 13.4 Events
- 13.5 Labels and Gotos
- Chapter 13 - Exercises
- Style Guide
- 14.1 Spacing and Braces
- 14.2 Naming Conventions
- 14.3 Best Practices
Appendix A. Global Functions
Appendix B. Escape Sequences
Appendix C. Operator Precedence
Appendix D. Modules