what is new modifier in C#

Answer Posted / shiraz abbas rizvi

When used as a modifier, the new keyword explicitly hides a
member inherited from a base class. Hiding an inherited
member means that the derived version of the member
replaces the base-class version.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

to find out the minimum of two integer number of two different classes using friend function

1635


What is the purpose of polymorphism?

666


what type of questions

1688


What is a class in oop?

593


What is a superclass in oop?

658






What is inheritance in oop?

591


How do you define a class in oop?

617


what is difference between class template and template class?

2149


i got a backdoor offer in process global,Bangalore..Can i work with it?

2316


How to improve object oriented design skills?

563


explain sub-type and sub class? atleast u have differ it into 4 points?

1827


When not to use object oriented programming?

563


Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.

686


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

628


What is the problem with multiple inheritance?

578