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


Please Help Members By Posting Answers For Below Questions

What is list collection in c#?

514


What is dictionary class in c#?

466


To catch any possible exception What is the C# syntax written ?

528


What is scope c#?

437


Why is lazy loading?

488






What is difference between private and protected?

493


What are predicates in c#?

534


What is property c#?

500


Why var is used in c#?

482


Can mvc be used for desktop applications?

474


Why is main static in c#?

508


Why do we need to call CG.SupressFinalize?

545


Explain the Different types of configuration files in .net?

566


Describe an interface class?

558


How do I edit a dll file?

444