I have come across an example in the Wrox book, 'Professional VB.Net 2003' I don't understand.
It describes a way in which a property can be overloaded and overriden at the same time from a base class.
This as a concept is difficult for me to grasp as overloading and overriding are to me, very different.
An 'Overload' in a child class creates another occurrance
on a property with a different parameter list signature.
An 'Override' in a child class creates a property that matches the parameter signature of the base property but defines a completely different set of actions.
How can both you have a property that has both the same parameter signature and a different parameter signauture at the same time?
It describes a way in which a property can be overloaded and overriden at the same time from a base class.
This as a concept is difficult for me to grasp as overloading and overriding are to me, very different.
An 'Overload' in a child class creates another occurrance
on a property with a different parameter list signature.
An 'Override' in a child class creates a property that matches the parameter signature of the base property but defines a completely different set of actions.
How can both you have a property that has both the same parameter signature and a different parameter signauture at the same time?