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

Explain what is a delegate?

0 Answers  


What is typical about a windows process in regards to memory allocation in .net?

0 Answers  


which method do you use to redirect the user to another page without performing a round trip to the client? How?

0 Answers  


Is .net core the future?

0 Answers  


Write code for fetch record nos 15 to 25 from a dataset containing 50 records?

4 Answers   C Squared Systems,






What is Code group in .Net with respect to CAS

0 Answers  


What is lambda expressions in c#?

0 Answers  


What is RunTime Polymorphism?

5 Answers   Deloitte, eClerx, Horizon, Intel, Pragna Technologies,


How to implement datagrid in.net? How would you make a combo-box appear in one column of a datagrid? What are the ways to show data grid inside a data grid for a master details type of tables? If we write any code for datagrid methods. What is the access specifier used for that methods in the code behind file and why?

0 Answers  


Can any object be stored in a viewstate in .net?

0 Answers  


Is there a way to suppress the finalize process inside the garbage collector forcibly in .net?

0 Answers  


What is the managed and unmanaged code in .net?

3 Answers   Deltech, Dhanush Infotech,


Categories