class BaseCls { public virtual void Show(int i) { Console.WriteLine(" BaseClsDisplay" + i); } } class childCls: BaseCls { public override void Show(int i) { System.Console.WriteLine("childClsDisplay" + i); }
which class method executes now ? out childclsdisplay or Baseclassdisplay
if child class display method executed ok
then how to call Baseclsmethod
Please suggest me clear tutorial or explain
Thanks
Niranjan
Last edited by a moderator: