new hides the property.
It could be like in your code:
class base1 { public virtual string navUrl { get; set; } } class derived : base1 { public new string navUrl { get; set; } }
Here in the derived class, the navUrl property hides the base class property.
anishMarokey Sep 06 '10 at 5:22 2010-09-06 05:22
source share