Track 1C# & the .NET Runtime
C# Basics
Variables, types, control flow and methods — the building blocks of every program.
- 1.1
Variables & types
- int, double, bool, char
- var
- Constants
- Type conversion
- 1.2
Operators & strings
- Arithmetic & logic
- String interpolation
- String methods
- 1.3
Control flow
- if / else
- switch
- Ternary operator
- 1.4
Loops & arrays
- for, while, foreach
- Arrays
- break / continue
- 1.5
Methods
- Parameters & return values
- Overloading
- ref / out
- Debugging basics
- Writing methods— Package code into reusable, named methods with parameters and return values.12 min
- ref, out and params— Control how arguments are passed — by value, by reference, as outputs, or as a variable-length list.10 min
- Reading errors and debugging— Tell compile errors, runtime exceptions and logic bugs apart, and track each one down.10 min