public interface Isome<T> where T: ISomeOther
{
T Foo();
}
//vs
public interface ISome
{
ISomeOther Bar();
}
public class A : ISome<SomeOther> //where SomeOther : ISomeOther
{
SomeOther Foo();
}
//vs
public class B : ISome
{
SomeOther Bar(); //where SomeOther : ISomeOther
}