I have two abstract classes AbstractClass1
and AbstractClass2
that both should have the same method names Meth1
.
Now what if my AbstractClass1
inherits from AbstractClass2
. Currently it is throwing me a compile time error as "Hides Inherited Abstract Member"
. Below is my code.
abstract class AbstractClass1 : AbstractClass2
{
public abstract string Meth1();
}
abstract class AbstractClass2
{
public abstract string Meth1();
}