Hello Team,
I am migrating myself into VB.NET from VB. While I was working with Inheritance, I stucked up with an issue. I have created a Master and Derived classes. I used a function with same signature in both master and derived classes. As per the standards, the base class method should be prefixed with OVERRIDABLE and the derived class method should be prefixed with OVERRIDES. Even if I am not doing this my program is still working. However, VB.NET is showing a warning but not interuppting the program run. What is the reason behind this?
Later when I derived another sub class from the existing dervied class, VB.NET shows error that the method signatures should have OVERRIDABLE & OVERRIDES.
Could someone explain this phenomenon?
Thanks in advance.
Krishna.