Here's the c# code I'm trying to compile
Fairly simple, testDMO that inherits from testDMOBase
Then test that inherits from testBase
public abstract class testDMOBase { }
public class testDMO : testDMOBase { }
public abstract class testBase
{
abstract protected void LoadCRUD(testDMOBase dmo);
}
public class test : testBase
{
override protected void LoadCRUD(testDMO dmo) { }
}
I'm getting the following errors:
'test' does not implement inherited abstract member 'testBase.LoadCRUD(testDMOBase)' 'test.LoadCRUD(testDMO)': no suitable method found to override
Shouldn't the use of a subclass be ok on the override method?