I have a base class which I want to provide some 'base' functionality for methods for all inheriting classes.
In my inheriting classes I want to do:
public override void Setup()
{
base.Setup();
}
But at the moment it says I have to use the new keyword.
How to I have it so I have to use the override
keyword?
Is there any difference between how it is currently with me using the new
keyword and using override
?