For Example, If you are having two interfaces are named as,
public interface IA
{
void XYZ();
}
public interface IB
{
void XYZ();
}
And you can implement these two interfaces in a class as below,
public class C1
{
public void IA.XYZ()
{
//something IA
}
public void IB.XYZ()
{
//something IB
}
}
Now you can call these methods as below,
IA obj1 = new C1();
IB obj2 = new C1();
obj1.XYZ(); // calls the method of interface IA
obj2.XYZ(); // calls the method of interface IB