Polymorphism | Method Overloading vs Method Overriding | C# | .Net | Tutorial - 6 | Tamil

Опубликовано: 28 Апрель 2026
на канале: Micah Tech
3,722
59

Polymorphism

1. Polymorphism means "many forms“
2. In simple words, behaving in different ways depending upon the input received is called as polymorphism
3. There are two types of polymorphism.
Compile-time Polymorphism (Method overloading)
Run-time Polymorphism (Method overriding)

----------------------------------------------------------------
Interview Questions and Answers

1. Method Overloading vs Method overriding

Method Overloading
Compile-time Polymorphism
Multiple method with same name but different parameter in same class
Method return type may or may not be same

Method overriding
Run-time Polymorphism
Method with same name and same parameter in different class
Virtual and override key word is used.
Method return type must be same

2. Is method hiding is possible in C#?
Yes, with the help of new key word.

------------------------------------------------------------------------

C Sharp playlist:    • C# | .Net core | .Net framework  

Subcribe:    / @micah_tech  
Instagram:   / micah_tech  
GitHub: https://github.com/Kirubason
whatsapp: https://wa.me/919360586730

-------------------------------------------------------------------------

tag


.Net framework, ASP.Net, ADO.Net, Linq, Parallel Linq, Visual Studio, VB.Net, Web API, Web services, WCF, WinForms, MVC framework, .Net core, ASP.Net core, MVC .Net core, Visual Studio Code, Visual basics, C# Programming language, CLR, compiled code, Tutorial, interview question and answer, C# demo, freshers and experienced job search, coding in .Net, Entity framework, oops concepts, object-oriented programming language

#மைக்காடெக் #micah #kirubason #கிருபாசன் #MicahTech