Guest User

Untitled

a guest
Apr 6th, 2014
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.28 KB | None | 0 0
  1. interface IMyInterface
  2. {
  3.     void Foo();
  4. }
  5.  
  6. interface IMyInterface2
  7. {
  8.     void Foo2();
  9. }
  10.  
  11. class MyClassB : IMyInterface
  12. {
  13.     public virtual void Foo() {...}
  14. }
  15.  
  16. class MyClassA : MyClassB, IMyInterface2
  17. {
  18.     public override void Foo() {...}
  19.     public override void Foo2() {...}
  20. }
Add Comment
Please, Sign In to add comment