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

Writing a Stored procedure to insert the values into a table

1 Answers  


Should I implement finalize on my class? Should I implement idisposable?

0 Answers  


What's the problem with .net generics?

0 Answers  


SAP Business One(this is intigrated tool of .net)

0 Answers   TCS,


What is the use of ErrorProvider Control in .NET?

2 Answers  


Explain what does managed mean in the .net context?

0 Answers  


What is COM Interoperability in .NET

0 Answers  


Can we share session between ASP.Net & ASP

3 Answers   Accenture, Value Labs,


What are Satellite Assemblies? How you will create this? How will you get the different language strings?

0 Answers   Reuters,


Can you create instance of a class which has private constructor?

0 Answers  


State the methods used during deserialization and serialization process.

2 Answers  


Please explain what is immutability, what is it for and how is it codified?

0 Answers  


Categories