“new” keyword in property declaration in c#

It hides the navUrl property of the base class. See new Modifier. As mentioned in that MSDN entry, you can access the “hidden” property with fully qualified names: BaseClass.navUrl. Abuse of either can result in massive confusion and possible insanity (i.e. broken code).

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)