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 and notes together  slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Help page about these notes  Alphabetic index  Course home  Page 34 : 40
Object-oriented Programming in C#
Specialization, Extension, and Inheritance
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

/user/normark/oop-csharp-1/sources/c-sharp/bank-account/inheritance-2/ex1.csAn illustration of dynamic type run-time check with v is C.

/user/normark/oop-csharp-1/sources/c-sharp/bank-account/inheritance-2/ex1-outputOutput of dynamic type run-time checking program .

/user/normark/oop-csharp-1/sources/c-sharp/bank-account/inheritance-2/ex2.csAn illustration of type casting (C)v.

Go to exerciseCasting of BankAccounts
/user/normark/oop-csharp-1/sources/c-sharp/bank-account/inheritance-2/ex3.csAn illustration of type conversion with v as C.

/user/normark/oop-csharp-1/sources/c-sharp/bank-account/inheritance-2/ex3-outputOutput of dynamic type type conversion program .

Go to exerciseStatic and dynamic types