Home
C# / C Sharp
2D Graphics
Class Interface
Collections Data Structure
Components
Data Types
Database ADO.net
Date Time
Design Patterns
Development Class
Event
File Stream
Generics
GUI Windows Form
Internationalization I18N
Language Basics
LINQ
Network
Office
Reflection
Regular Expressions
Security
Services Event
Thread
Web Services
Windows
Windows Presentation Foundation
XML
XML LINQ
Class Inheritance « Class Interface « C# / C Sharp
C# / C Sharp
Class Interface
Class Inheritance
1.
Inheritance 3
2.
Four layers of class hierarchy
3.
An example of inheritance-related name hiding
4.
Using base to overcome name hiding
5.
Call a hidden method
6.
A multilevel hierarchy 1
7.
Demonstrate when constructors are called
8.
illustrates inheritance
9.
Private field and public Property in inheritance
10.
Illustrates versioning
11.
Class Hierarchy test
12.
Class Hierarchy with two children class
13.
A simple class hierarchy
14.
A base class reference can refer to a derived class object
15.
Pass a derived class reference to a base class reference
16.
a multilevel hierarchy
17.
Build a derived class of Vehicle for trucks