In which cases you use override and new base ?
Interview question and answer by:
Bharathi Cherukuri | Posted on: 4/23/2012 | Category:
C# Interview questions | Views: 530 | |
Points: 40
Answer:
You can use the new modifier to explicitly hide a member inherited from a base class.
To hide an inherited member, you have to declare it in the derived class using the same name, and modify it with the new modifier.
Asked In: Many Interviews
|
Alert Moderator
Found interesting? Add this to: