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

Is .net core the future?

0 Answers  


What is the difference between constants and read-only variables?

0 Answers  


Explain me what is encapsulation?

0 Answers  


Can a dll be changed to an exe?

0 Answers  


Explain role-based security in .Net.

2 Answers  


Explain asp.net?

0 Answers  


Is the COM architecture same as .Net architecture? What is the difference between them (if at all there is)?

0 Answers   Infosys,


What are an object and a class?

0 Answers  


What is strong name?

2 Answers  


What is the difference between function and stored procedure?

0 Answers  


What is the transport protocol you use to call a seb service soap?

0 Answers  


How do you create threading in .NET? What is the namespace for that?

2 Answers  


Categories