Learning path

Object-oriented C#

Classes, encapsulation, inheritance, polymorphism, interfaces, records and generics.

9 lessons · 9 challenges

Start the path →
  1. Lesson 1 challenge Classes and Objects Model state and behavior together in a C# class.
  2. Lesson 1 challenge Properties and Encapsulation Protect object invariants with validated properties.
  3. Lesson 1 challenge Inheritance Reuse and specialize behavior through a base class.
  4. Lesson 1 challenge Polymorphism Call different implementations through one shared contract.
  5. Lesson 1 challenge Polymorphic Payroll Calculate pay for different employee types.
  6. Lesson 1 challenge Interfaces and Abstraction Define capabilities that unrelated types can implement.
  7. Lesson 1 challenge Records and Value Equality Represent immutable data with concise record types.
  8. Lesson 1 challenge Generics Write reusable, type-safe classes and methods.
  9. Lesson 1 challenge Generic In-Memory Repository Store any entity type through a reusable generic class.