Public sub DoSomethingOnA(IA a)
 {
     a.DoSomething();
 }