C# Beginner to advanced - Lesson 21- Polymorphism

مجله خبری، آموزشی پرشین تک
منتشر شده در 11 خرداد 1397

Polymorphism is one of the key pillar in object oriented programming.

Polymorphism allows to invoke derived class methods through a base class reference during run time.

In the base class the method is declared virtual, and in the derived class we override the same method.

The Virtual keyword indicates, the method can be overridden in any derived class.


ankpro

ankpro training

Asp.net MVC

C#

C sharp

Bangalore

Rajajinagar

Selenium

Coded UI

Mobile automation testing

Mobile testing

JQuery

JavaScript

.Net

Components of the .Net framework

Hello World

Literal

Keywords

Variable

Data types

Operators

Branching

Loops

Arrays

ArrayList

Strings

String Builder

Structures

Enums

Functions

Classes

Inheritance

Polymorphism

Properties

Indexers

Events

Nested Classes

Delegates

Anonymous methods

Labda expressions

Abstract classes

Exception Handling

Linq

Interfaces

Extension methods

Anonymous types

Generics

Collections

Garbage Collection

Reflection

Attributes

Input and output statements

Type casting

Boxing and Unboxing

Var vs Dynamic vs Object

دیدگاه کاربران