.NET Academy
Track 1C# & the .NET Runtime

C# Basics

Variables, types, control flow and methods — the building blocks of every program.

  1. 1.1

    Variables & types

    • int, double, bool, char
    • var
    • Constants
    • Type conversion
  2. 1.2

    Operators & strings

    • Arithmetic & logic
    • String interpolation
    • String methods
  3. 1.3

    Control flow

    • if / else
    • switch
    • Ternary operator
  4. 1.4

    Loops & arrays

    • for, while, foreach
    • Arrays
    • break / continue
  5. 1.5

    Methods

    • Parameters & return values
    • Overloading
    • ref / out
    • Debugging basics