Console C#.Net Tutorial

Visual Studio.NET IDE

Define C#.NET

C# Comment

C# Variables

C# Data Types

C# Escape Sequence

C# Operators

Format String

Operator Precedence

C# Keywords

Constant Variable

Type Conversion

Flow Control

C# Arrays

C# Character

C# Strings

User-Define Methods

Variable Scope

C# Enumerations

C# Structure

C# Exception Handling

Object Oriented Programming

C# Classes

Constructor & Destructor

C# Inheritance

C# Polymorphism

C# Operator Overloading

C# Method Overriding

C# Interface

Abstract Classes & Methods

Sealed Classes, Methods

C# Properties

C# Indexer

C# Delegates

C# Generics

C# Collection

C# ArrayList

C# Stack

C# Queue

C# HashTable

C# SortedList

Page Stats

Visitor: 260

C#.Net Polymorphism

Polymorphism means one name many forms. With polymorphism, the same method or property can perform different actions.
There are two types of polymorphism:
1. Static or compile time polymorphism: When the information is known to the compiler at compile time is known as compile time polymorphism.
2. Dynamic or runtime polymorphism: When the information is not known to the compiler at compile time is known as run time polymorphism.
C#.Net Polymorphism