Lecture overview -- Keyboard shortcut: 'u'  Previous page: Method Combination -- Keyboard shortcut: 'p'  Next page: Covariance and Contravariance -- 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    Abstract classes, Interfaces, and Patterns - slide 3 : 37

Parameter Variance
How do the parameters of Op in class A and B vary in relation the variation of A and B
   A aref;
   B bref = new B();
   S sref = new S();

   aref = bref;    // aref is of static type A and dynamic type B
   aref.Op(sref);  // B.Op is called with an S-object as parameter.
                   // What if an operation from T is activated on the S-object?
ex.cs
The full C# program.
It turns out that parameter variance is not really a relevant topic in C#...