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 is garbage collection in .net? Explain the garbage collection process?

0 Answers  


Please explain what is the .net framework and how does it work?

0 Answers  


How ASP .NET different from ASP?

4 Answers  


Example from .net. Integer & struct are value types or reference types in .net?

0 Answers  


What are the advantages of .net core?

0 Answers  






What is machine.config in .net?

0 Answers  


What does cli do?

0 Answers  


Explain webfarm vs webgardens in .net?

0 Answers  


How can I get at the win32 api from a .net program?

0 Answers  


Write Code for DataSet,Datareader,and by deleting the button gridview should be empty?

0 Answers  


What is the difference between "using system.data;" and directly adding the reference from "add references dialog box"?

0 Answers  


Describe the start-up process for a Windows service.

1 Answers  


Categories