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

What are the features of oop?

641


What is inheritance and how many types of inheritance?

622


program for insertion ,deletion,sorting in double link list

2284


What is a class in oop?

607


What is coupling in oop?

600






What is meant by oops concept?

615


What is the advantage of oop over procedural language?

630


What type of loop is a for loop?

684


What are the benefits of interface?

583


Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.

2578


What are benefits of oop?

639


What are functions in oop?

586


What is abstraction with example?

608


Why do we need polymorphism in c#?

690


Can main method override?

587