I have 2 classes base1
and base2
public class base1
{
public base1(int I, string s)
{
}
public void f1()
{
// code
}
public void f2()
{
// code
}
public void p()
{
// code
}
}
public class base2
{
public base2(int x)
{
}
public void f3()
{
// code
}
public void f4()
{
// code
}
protected void f5()
{
// code
}
}
I need to implement 5 classes that derive from both of them
but there is no multiple inheritance in c#
....so how can I do it?-one class base1
i can`t change. with the second one i can expirement.so the only idea i have is to make it to be interface
? but both classes constructors have arguments!so it is not possible to make a interface
may be you have better ideas...