"Mythran" <ki********@hotmail.comREMOVETRAILschrieb:
Why can't we create 2 properties with the same signature .. one on a base
class and one on a derived class, even though both properties are shared?
Public Shared ReadOnly Property MyProperty() As Integer
Shared members are not overridable (virtual in C{#, ++} terms), thus this is
not possible. In other words it's not possible (except by using 'Shadows',
but I think this is not a good solution) to change the behavior of a shared
member in a derived class.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>