Let’s say I have a base page class with a Page_load() event handler and I also have a Page_load() event handler in the derived page class. I realised you don’t have to wrote vitual or override keyword and compiler does not detect error. Why is this? And why is is base class version executed?
Share
I was wrong. There was indeed a warning about shadowing a parent class method, but it was just a warning, not an error.