Advertisement
Guest User

Untitled

a guest
Jul 24th, 2014
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. interface IMyIF {
  2. int MyMeth(int x);
  3. }
  4. //then it is legal to implement IMyIF as shown here:
  5. class MyClass : IMyIF {
  6. int IMyIF.MyMeth(int x) {
  7. return x / 3;
  8. }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement