What is polymorphism? pl explain practically rather than
theoretical?
Answer Posted / mukesh
Polymorphism - Poly means "many" So it is one name and many forms. In C# we have two types of polymorphism compile time and run time. Compile time polymorphism is achieved through Function Overloading ( Same function but different parameters or signatures) and Run time polymorphism is achieved through function Overriding also called shadowing in VB.net where a child class method overrides the base class function.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is a property c#?
Is int a struct in c#?
What are extensions methods in c#?
What are anonymous types in c#?
Why do we parse in c#?
What is a streamwriter in c#?
Is a structure a class?
What is a method signature in c#?
Is multilevel inheritance possible in c#?
Is datetime nullable c#?
List some of the classes used by system.data namespace?
What is iqueryable in c#?
Is hashset ordered c#?
What is serialization in .net?
What is string [] args in c#?