Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

inheritance

Building a new class on top of an existing one.

Inheritance lets a derived class reuse and extend a base class's members; C# classes have single inheritance, and every type ultimately derives from object.

Loading interactive…

Examples

  • class Manager : Employee gives Manager everything Employee has, plus whatever it adds.

Read the full section →