public interface IFoo { } public interface IFoo : IFoo { } public class Test { public IFoo GetFoo () { return GetFooGeneric (); } public IFoo GetFooGeneric () { return default (IFoo); } public static void Main () { Test test = new Test (); test.GetFoo (); } }