Lecture overview -- Keyboard shortcut: 'u'  Previous page: Type test and type conversion in C# -- Keyboard shortcut: 'p'  Next page: Virtual methods in C# -- Keyboard shortcut: 'n'  Lecture notes - all slides together  Annotated slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Alphabetic index  Help page about these notes  Course home    Specialization, Extension, and Inheritance - slide 34 : 40

Examples of type test and type conversion

Concrete BankAccount examples of type test and type conversions

Systematic use of v is C, (C)v, and v as C on bank account classes

An illustration of dynamic type run-time check with v is C.
Output of dynamic type run-time checking program .
An illustration of type casting (C)v.
Go to exercise
Casting of BankAccounts
An illustration of type conversion with v as C.
Output of dynamic type type conversion program .
Go to exercise
Static and dynamic types