google-site-verification=ECX1M6_Vb39ty4VtQDXQce6wOjmPTxSettd3hTIZb9Q

C# Programming Language - What is Polymorphism?

random

C# Programming Language - What is Polymorphism?

OOPS - What is Polymorphism in C#?

In the previous article I explained about Abstract Class C# Tutorial for Beginners, here I will explain about polymorphism.

Polymorphism means one name many forms. Polymorphism means one object behaving as multiple forms. One function behaves in different forms. In other words, Many forms of a single object is called Polymorphism.

In polymorphism we will declare methods with same name and different parameters in same class or methods with same name and same parameters in different classes. 

Polymorphism has ability to provide different implementation of methods that are implemented with same name.


Polymorphism in C#.Net,C# Polymorphism, Polymorphism in .NET, What is Polymorphism in C Sharp?


There are two types of polymorphism:
  • Static or compile time polymorphism
  • Dynamic or runtime polymorphism



C# Programming Language - What is Polymorphism? Reviewed by Ravi Kumar on 11:57 PM Rating: 5

No comments:

All Rights Reserved by Etechpulse © 2012 - 2017

Contact Form

Name

Email *

Message *

Powered by Blogger.