If you have TheMethod() in interfaces I1 and I2, and the following class
TheMethod()
class TheClass : I1, I2 { void TheMethod() }
If s
That is irrelevant. Casting to any of the interfaces will result in the method being called, but since an interface cannot contain code you cannot inherit behavior from it.