Hi my workmate just told me that it is possible to achieve polymorphism by hiding a base class method and implementing another method with the same signature in the derive class, Is this true and how could this be needed in real life situations?
Share
I guess your friend was talking about shadowing. It’s not true polymorphism and should be avoided Difference between shadowing and overriding in C#?