Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

call-child-overridden-method-from-parent-class

when foo is called from the child class, child's bar will be called, instead of parent's

Flow

Entrypoint

MyForm.Ctor

Steps

  1. Call Child.CallFoo() method in MyForm.Ctor().
  2. This method will execute Base.Foo().
  3. Base.Foo() will execute Base.Bar().
  4. Base.Bar() will execute Child.Bar().
  5. MessageBox will raise for "Called Child.Bar"

About

when foo is called from the child class, child's bar will be called, instead of parent's

Topics

Resources

Stars

5 stars

Watchers

0 watching

Forks

Contributors

Languages