what is new modifier in C#

Answer Posted / pratyaya kumar ghosh

C# allow redefinition of inherited methods in the derived
classes at the cost of hiding the inherited ones using new
modifier.

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you inherit a private class?

824


Which is better struts or spring?

788


What is encapsulation and abstraction? How are they implemented in C++?

826


What is property in oops?

769


Whats oop mean?

765


What is polymorphism what is it for and how is it used?

745


write a C++ program for booking using constructor and destructor.

2239


if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?

3081


What is polymorphism and example?

754


State what is encapsulation and friend function?

911


Why is polymorphism important in oop?

798


What is the difference between inheritance and polymorphism?

781


Are polymorphisms mutations?

877


Why do we use encapsulation in oops?

716


What is the renewal class?

2394