c# - how to invoke an internal void method? -


how invoke refreshmethod of base(aclass) aclass not instantiable.

public class aclass { private aclass(); internal void refreshmethod(); }  public class bclass:aclass { //i want invoke refreshmethod... how ? thanks,if have idea? } 

since refreshmethod not static mehtod, have instantiate object of type aclass , invoke usual.

however, don't think problem. think public bclass:bclass typo error. might wanted write following:

public bclass: aclass {  } 

then since bclass inherits aclass can invoke refreshmethod in bclass.


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -