using System;
interface IFoo { void Foo(); }
class Base { public void Foo() { Console.WriteLine("yoyoyo, base foo!"); } }
class Sub : Base, IFoo {}
public class Program
{
public static void Main()
IFoo sub = new Sub();
sub.Foo();
}