What is Method Overriding? How to override a function in C#?



What is Method Overriding? How to override a function in C#?..

Answer / guest

Method Overriding if changing the behaviour of function in
derived class, defined in the base class.

to override a method in the derived class declare the
function virtual in the base class.

Is This Answer Correct ?    12 Yes 3 No

Post New Answer

More Dot Net General Interview Questions

What are data types in .NET?

0 Answers   UGC Corporation,


Writing a Stored procedure to insert the values into a table

1 Answers  


What are the new features in .net core?

0 Answers  


Explain the use of activex control in .net?

0 Answers  


How can you turn-on and turn-off cas?

0 Answers  






Define code access security (cas)?

0 Answers  


Explain how to load the contents of an xml file into an xmldocument object?

0 Answers  


Explain me what is a design pattern and what is it for?

0 Answers  


What class does icon derive from? Isn't it just a bitmap with a wrapper name around it?

0 Answers  


What are the main components in .net?

0 Answers  


What operating systems does the .net framework run on?

0 Answers  


What do you mean by Code Access Security in .NET?

0 Answers  


Categories