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
Post a Comment