📚 Lập trình C#
3 chương · 7 bài học
Tiến độ: 0 / 7 bài đã hoàn thành (0%)
Đang xem thử chương 1.
Đăng ký để làm quiz, theo dõi tiến độ và xem toàn bộ khoá học.
Xem khoá học
Inheritance (Derived and Base Class)
In C#, it is possible to inherit fields and methods from one class to another. We group the "inheritance concept" into two categories:
Derived Class (child) - the class that inherits from another class
Base Class (parent) - the class being inherited from
To inherit from a class, use the : symbol.