Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- interface IMyIF {
- int MyMeth(int x);
- }
- //then it is legal to implement IMyIF as shown here:
- class MyClass : IMyIF {
- int IMyIF.MyMeth(int x) {
- return x / 3;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement