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 does string intern do?
What are the Types of compatabilities and explain them
What is event delegate in c#?
When can a derived class override a base class member?
What are constants in c#?
What is protected internal modifier in C#?
What is a Command Object in C#?
What is nameof c#?
What is delegate in c# interview questions?
Why do we use yield in c#?
What is razor view in c#?
Wht executescaler method is used?
Does constructor return any value in c#?
Explain manifest & metadata in c#.
What is tuple in c#?