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

Intermediate C#

The features that make C# expressive and safe: generics, collections, nullability and more.

  1. 3.1

    Value vs reference types

    • Copy semantics
    • null
    • Nullable reference types
  2. 3.2

    Generics

    • Generic classes & methods
    • Constraints
  3. 3.3

    Collections

    • List<T>
    • Dictionary<K,V>
    • HashSet<T>
    • Queue / Stack
  4. 3.4

    Exceptions

    • try / catch / finally
    • Custom exceptions
    • When to throw
  5. 3.5

    Modern C# features

    • Enums
    • Pattern matching
    • Extension methods
    • Tuples