I have a base class with a property which has a setter method. Is there a way to invoke the setter in the base class from a derived class and add some more functionality to it just like we do with overriden methods using the base keyword.
Sorry I should have added an example. Here is an example. Hope I get it right:
public class A
{
public abstract void AProperty
{
set
{
// doing something here
}
}
}
public class B : A
{
public override void AProperty
{
set
{
// how to invoke the base class setter here
// then add some more stuff here
}
}
}