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
Why do we use stringbuilder in c#?
What is definition in c#?
Why is xml called extensible?
Why do we need to serialize data?
Why are local variables stored in stack?
What are the commonly used i/o classes?
To allow an element to be accessed using a unique key which .NET collection class is used ?
C# called c sharp why?
What is scope c#?
Why are strings in c# immutable?
What is interface used in c#?
What is a scope in c#?
What is the difference between ienumerable and enumerable?
Why do I get a security exception when I try to run my c# app?
What do you mean by abstract class in c#?