Specialization, Extension, and Inheritance - slide 33 : 40 |
It is possible to test if the dynamic type of variable v is class type C
There are two ways to convert (cast) one class type to another
The typeof operator can be applied on a typename to obtain the corresponding object of class Type
The Object.GetType instance method returns an object of class Type that represents the run-time type of the receiver.