Say I have an interface IFoo and I want all subclasses of IFoo to override Object\'s ToString method. Is this possible?
IFoo
ToString
Simpl
I don't believe you can do it with an interface. You can use an abstract base class though:
public abstract class Base { public abstract override string ToString(); }