Can we have the method in drived class with the same name
which is there in base class?
Answer Posted / srinivas.r
YES its posiible to have a method with same name in the
derived class provide with
1. base class method should be hided by removing virtual
keyword.
2.use new keyword in derived class instead of override.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the main purpose of linq?
What are events in C#?
What is the difference between static and constant variables?
What do you know about Translate Accelerator?
What's the difference between the debug class and trace class? Documentation looks the same.
What is different between Implicit conversion and Explicit conversion in C#?
What will be the output of the following code?
How to create events for a control? What is custom events? How to create it?
Explain jagged arrays in c#?
What are indexers in c# .net?
Is string mutable in c#?
What does exclamation mark mean c#?
What is append in c#?
Explain how to add controls dynamically to the form using c#.net.
What is dll file in c#?