When class A will implement method m1, it will be implementing both interfaces. When we create object of A with reference of interface B, then it will be implementation of m1 of B.
B objB = new A();
objB.m1();
If we need to implement both separately, we need to mention interface with method name like this..
class A : B, C
{
void B.m1()
{
throw new NotImplementedException();
}
void C.m1()
{
throw new NotImplementedException();
}
}