Is there a way to get the following function declaration?
public bool Foo() where T : interface;
ie. where T is an interface type
Use an abstract class instead. So, you would have something like:
public bool Foo() where T : CBase;