How to invoke RefreshMethod of base(Aclass) where Aclass is not instantiable.
public class Aclass
{
private Aclass();
internal void RefreshMethod();
}
public class Bclass:Aclass
{
//I want to invoke RefreshMethod... How to do it ? Thanks,if you have any idea?
}
Since
RefreshMethodis not a static mehtod, you have to instantiate an object of typeAClassand then invoke it as usual.However, I don't think that actually this is your problem. I think that
public Bclass:Bclassis a typo error. You might wanted to write the following:Then since
BClassinheritsAClassyou can invokeRefreshMethodin yourBClass.