You can have methods in your base class with virtual signature and if you want to use the same method in your child class you need to use the term override.
public class a
{
public virtual int methodA()
{}
}
public class B : a
{
public override int methodA()
{}
}
No comments:
Post a Comment