Multiple inheritance is not supported in C# through classes because
Class P1
{
public void func1()
{
.....;
}
}
Class P2
{
public void func1()
{
....;
}
}
Class P3:P1,P2
{
static void Main()
{
P3 obj=new P3();
P3.func1();//Here runtime gets confused whether to call func1() of ClassP1 orP2; Ambuguity
}
}
Hence Multiple inheritance is possible using interfaces