In which cases you use override and new base ?

 Posted by Bharathi Cherukuri on 4/23/2012 | Category: C# Interview questions | Views: 1874 | Points: 40

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 

Comments or Responses

Login to post response