Want to become a Vibe Coder? Join Vibe Coding Training here
x
C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Tags
No tag found
Content Filter
Articles
Videos
Blogs
Resources
News
Forums
Interviews
Complexity Level
Beginner
Intermediate
Advanced
Refine by Author
[Clear]
Naveed Zaman(5)
Akhil Mittal(4)
Amr Monjid(4)
C# Curator(3)
Ajay Kumar(2)
Manish Agrahari(2)
Phil Curnow(2)
Rajesh VS(2)
Lokendra Singh(2)
Hari Lakkakula(2)
Mageshwaran R(1)
Saillesh Pawar(1)
Rafnas T P(1)
Kundan Jha(1)
Jignesh Trivedi(1)
Gopi Chand(1)
Kirtan Patel(1)
Ayush Gupta(1)
Sandip Jadhav(1)
Aymen Amri(1)
Ammar Shaukat(1)
Rupesh Kahane(1)
Mukesh Kumar(1)
Sujeet Suman(1)
Palle Technologies(1)
Munesh Sharma(1)
Vithal Wadje(1)
Sharad Gupta(1)
Abhishek Dubey(1)
Marcus (1)
Vishal Nayan(1)
Biprojit Roy Choudhury(1)
Praveen Kumar(1)
Erika Ehrli(1)
Erika Ehrli Cabral(1)
Nitin (1)
Sangeetha Vengatesan(1)
Mayooran Navamany(1)
Ng Cheehou(1)
Vikas Singh(1)
Rishabh Bhardwaj(1)
Deepak Tewatia(1)
Harsh Sharma(1)
Jagannath Sethi(1)
Pradeep Vaishya(1)
Prakashkumar Sahoo(1)
Usama Hafeez(1)
Vijay Kumari(1)
Kiran Mohanty(1)
Shivangi Rajde(1)
Amit Naik(1)
Pankaj Patel(1)
Aashina Arora(1)
Rahul Sahay(1)
Rajesh Pawde(1)
susanta pradhan(1)
Nanhe Siddique(1)
Pankaj Kumar Choudhary(1)
Rajeev Ranjan(1)
Abhijeet Singh(1)
Akash Bhimani(1)
Sandeep Sharma(1)
Abhimanyu K Vatsa(1)
Prasoon (1)
Tusharkant Agarwal(1)
Resources
No resource found
Encapsulation, Inheritance, and Polymorphism in C#
Jul 18, 2024.
In this article, we will learn how to encapsulate data for security, leverage inheritance for code reuse, and implement polymorphism to create flexible and scalable applications.
Overview Of Polymorphism In C#
Oct 22, 2019.
In this article, I will explain the concept of polymorphism in C# with some examples and how to implement polymorphism in C#.
Replace If With Polymorphism With AutoFac DI Container
Jul 26, 2018.
As the title specify we will be Replacing the conditional if and Switch statement with the help of Polymorphism using DI container and talk about the benefits of doing the same in this article. Oops gives us with pretty much great features which we are aware of theoretically but never implements practically. Polymorphism is one of the main features provide by Object Oriented Languages which in turn implies to that a Parent class can have more than one behavior and can point towards it’s child classes at runtime.
Concept Of Polymorphism (Late Binding) In C#
Mar 09, 2017.
Concept Of Polymorphism (Late Binding) In C#. Polymorphism is the primary pillars of an object-oriented programming. The word polymorphism is combined using two words. “Poly” which means many and “morph” which means form.
How To Achive Polymorphism In C#
Oct 26, 2015.
In this article we will understand one of the basic and important concept of Object Oriented Programming System which is Polymorphism.
Understanding Polymorphism In C#
Mar 23, 2015.
Polymorphism is a key feature of OOP that lets developers use same name methods in different forms. This tutorial explains basics of Polymorphism in C# with C# Polymorphism code examples.
Diving Into OOP (Day 4) : Polymorphism and Inheritance (All About Abstract Classes in C#)
Jun 02, 2014.
In this article of the series "Diving Into OOP", we’ll discuss the hottest and most exciting topic of OOP in C#, Abstract Classes.
Diving Into OOP (Day 3) : Polymorphism and Inheritance (Dynamic Binding/Run Time Polymorphism)
May 17, 2014.
In this part of article we will focus more on run time polymorphism also called late binding or dynamic binding.
Diving Into OOP (Day 2): Polymorphism and Inheritance
May 11, 2014.
Here we will focus solely on inheritance concept in OOP.
Diving Into OOP (Day 1): Polymorphism and Inheritance (Early Binding/Compile Time Polymorphism)
May 09, 2014.
This article will cover almost every OOP concept that a novice/beginner developer might seek and not only beginners but this article's purpose is to be helpful to experienced professionals who also need to brush-up on their concepts or who need to prepare for interviews.
Runtime Polymorphism in Java
Apr 10, 2014.
This article explains one of the most important concepts of Object Oriented Programming, Polymorphism, with several sets of examples along with definitions and related diagrams.
Runtime polymorphism in c#
Jun 02, 2010.
In this article I will write the code first about the classes and explain you later how its achieved in c#.
Polymorphism Concept OOPS
Jul 16, 2024.
Polymorphism in C# involves method overloading (multiple methods with the same name but different parameters), method overriding (subclass provides specific implementation of a method in the parent class), and method hiding (subclass hides a method from the parent class).
Polymorphism Concept in Object-Oriented Programming
Feb 12, 2024.
What do you mean by polymorphism? Polymorphism is explained with C# examples, Polymorphism, a concept extending beyond programming, is illustrated in everyday scenarios. Electrical outlets serve as an analogy, supporting diverse devices—an example of polymorphism manifesting in real life.
Polymorphism In Web API .Net Core 6
Aug 22, 2022.
In this article, you will learn how to expose polymorphic data in the same controller's method.
An Overview Of Polymorphism, Inheritance And Encapsulation In OOP
Nov 17, 2016.
In this article, you will learn an overview of polymorphism, inheritance and encapsulation in OOP.
Polymorphism In C# With Real Life Example
Nov 09, 2015.
In this article we will discuss Polymorphism in C# with a real life example.
Types Of Polymorphism
Oct 05, 2015.
In this article you will learn about Polymorphism and types of polymorphism.Polymorphism is one of the fundamental principles in object-oriented programming (OOP). It allows objects of different classes to be treated as objects of a common superclass. There are two types of polymorphism: compile-time (or static) polymorphism and runtime (or dynamic) polymorphism.
Polymorphism With Real Life Scenario In C#
Sep 21, 2015.
In this article you will learn about polymorphism with real life scenario in C#.
Internals of Static Polymorphism
May 10, 2014.
This article explains why overloading is called static polymorphism.
Polymorphism in C#
Apr 03, 2014.
Here I will explain static and dynamic Polymorphism.
Polymorphism in C#
Mar 06, 2014.
Polymorphism is a fundamental concept in object-oriented programming (OOP) languages like C#. It allows objects of different classes to be treated as objects of a common base class. Polymorphism provides flexibility and extensibility to your code and is one of the key principles of OOP. Here's a description of polymorphism in C#
Polymorphism in .NET
Jun 05, 2013.
In this article you will learn about Polymorphism in detail. What is Polymorphism? Static or Compile-time Polymorphism, Dynamic or Runtime Polymorphism, Virtual modifier, Virtual methods, Difference between method overriding and method hiding, Sealed methods
Polymorphism in PHP
Jan 31, 2013.
In this article I describe polymorphism in PHP. Polymorphism describes a pattern in Object Oriented Programming in which a class has varying functionality while sharing a common interfaces.
Polymorphism in Java
May 23, 2012.
In this article, we describe Polymorphism, the most popular Object Oriented Programming (OOP) concept, in Java.
Polymorphism in Java
Aug 05, 2011.
Polymorphism is discussed in this article. You'll see, how to achieve polymorphism in Java. Method overloading and overriding are discussed as well as.
Understanding Static & Dynamic Polymorphism
Mar 02, 2011.
Understanding Static & Dynamic Polymorphism with Examples.
Polymorphism in C#
Jun 03, 2010.
In this article you will learn how to use Polymorphism in C#.
Polymorphism in C#
Nov 30, 2009.
In this article I will explain about Polymorphism in C#.
Polymorphism in C#
Jul 03, 2009.
In this article I will explain you about method overloading i.e. compile time polymorphism.
Inheritance – Polymorphism
May 25, 2009.
In this article I will explain polymorphism. What are different types of polymorphism? The use of method overloading, virtual method, method hiding, method shadowing and method overriding.
The Third Pillar Of Object-Oriented Programming - Polymorphism:
May 29, 2008.
In the last part of this series you will see the third pillar of object-oriented programming (polymorphism); you will see how the polymorphism gives you the ability to treat related objects in the same way.
Abstract Base Class Polymorphism
Aug 30, 2007.
Refactoring the program code from my Polymorphism, Up-casting and Down-casting article to use an abstract base class.
Polymorphism, Up-casting and Down-casting
Jun 25, 2007.
This article gives an introduction to polymorphism in C#. Using the example created in this introduction, the article then goes on to describe how we up-cast and down-cast objects.
OOPS Concepts and .NET Part 2: Inheritance, Abstraction, & Polymorphism
Jun 22, 2005.
The following article is the second of a three-part article series that presents definitions and samples for different Object-Oriented Programming (OOP) concepts and its implementation in .NET. The first part examined the concepts of classes, objects, and structures. This part examines the concepts of inheritance, abstraction, and polymorphism. The third and last part will examine the concepts of interface, multiple interface inheritance, collections, and overloading.
OOPS Concepts And .NET - Part Two - Inheritance, Abstraction And Polymorphism
Jun 22, 2005.
The following article is the second of a three-part article series that presents definitions and samples for different Object-Oriented Programming (OOP) concepts and its implementation in .NET
Inheritance and Polymorphism
Oct 29, 2001.
By using the concept of inheritance, it is possible to create a new class from an existing one and add new features to it.
Object Oriented Programming Concepts in C# (2025)
Jul 08, 2025.
Explore object-oriented programming (OOP) in C# for 2025, covering core principles—encapsulation, inheritance, polymorphism, and abstraction, along with modern features like records, pattern matching, and more.
Understanding OOP in Python
Feb 16, 2025.
This article explains the fundamental concepts of Object-Oriented Programming (OOP) in Python. It covers classes, objects, inheritance, polymorphism, encapsulation, and abstraction, illustrated with a comprehensive code example and detailed explanations.
Understanding the Override Function in C#
Jan 23, 2025.
The override keyword in C# allows a derived class to modify or extend a method defined in a base class. It supports polymorphism, inheritance, and encapsulation, enabling flexible and reusable code with dynamic method binding at runtime.
When to Use Abstract Class vs Interface and Why?
Nov 29, 2024.
This article explains when to use abstract classes vs. interfaces in C# through two scenarios. The first scenario demonstrates how abstract classes help avoid code duplication, while the second shows how interfaces enable multiple inheritance.
Object Oriented Programming in Python
Jul 19, 2024.
Object Oriented Programming in Python" delves into the principles and concepts of OOP using Python. This guide covers classes, objects, inheritance, polymorphism, and encapsulation, providing practical examples and hands-on exercises.
C# Abstract Class with Examples
Jul 17, 2024.
Explore the fundamentals of C# abstract classes through clear examples and detailed explanations. Learn how abstract classes facilitate code reusability and polymorphism in object-oriented programming, with practical demonstrations of their usage and implementation in C#.
Overloading vs Overriding in Java
Jun 12, 2024.
Method overloading and overriding in Java, essential OOP concepts for code reusability and polymorphism. Overloading allows multiple methods with the same name but different parameters while overriding lets subclasses provide specific implementations of superclass methods and maintainability.
Mastering OOP in C#: A Real-World Project Journey
May 13, 2024.
Explore Object-Oriented Programming in C# through a practical journey. Learn key concepts like inheritance, polymorphism, and encapsulation while working on real-world projects. Master C# development with hands-on examples, SOLID principles, and design patterns in Visual Studio and .NET framework.
C# Inheritance: Basics and Practical Examples
May 10, 2024.
Inheritance in C# allows classes to inherit properties and behavior from other classes, facilitating code reuse and creating a hierarchy of classes. Beginners learn to establish relationships between classes, leverage base, and derived classes, and implement polymorphism for flexible and efficient code structures."
What is the Abstract Class in C#?
Mar 27, 2024.
The abstract class is a special privileged class in the C#, this will provide a blueprint for the derived classes with a setup of rules and instructions to be derived. The abstract class contains both abstract and non-abstract methods.
What is the Virtual Method in C#?
Mar 26, 2024.
In this article, we will provide an explanation about the virtual method with consise answer, which is help full for the people who wants to attends the C# with opps interview.
What are Properties in C#?
Mar 04, 2024.
In this article, we will learn about properties in C#, different types of properties, how to define and use them, and some best practices when working with properties in C#, properties in C# are a way to encapsulate data and provide controlled access to it.
Liskov Substitution Principle
Oct 30, 2023.
Liskov Principle is part of SOLID Design Principles. The Liskov Substitution Principle (LSP) is a fundamental concept in object-oriented programming that ensures the correct design of inheritance hierarchies. It was introduced by Barbara Liskov, an American computer scientist, in 1987. The principle emphasizes that objects of a superclass should be replaceable with objects of its subclasses without affecting the functionality of the program. It essentially deals with the behavior of objects when they are used in place of their parent objects.
Pillar of OOPS (Object Oriented Programming)
Sep 06, 2023.
This article explores the fundamental pillars of Object-Oriented Programming (OOP): Encapsulation, Abstraction, Polymorphism, and Inheritance. It provides detailed explanations and real-world examples to enhance your understanding of these critical concepts, making it a valuable resource for developers and interview preparation.
C# Abstract Classes: Definition, Usage With Example
Aug 07, 2023.
Learn all about C# Intermediate Abstract Classes in this comprehensive guide. Understand the concepts, usage, and benefits. A must-read for C# developers aiming to enhance their skills. Click to become a C# Abstract Classes expert!
Interview Questions & Answer For Full Stack .NET Developer
Jun 02, 2023.
Object-Oriented Programming Simplified With C# And .Net 5
Jun 28, 2022.
This article is about the general concepts of Object-Oriented Programming with examples in c sharp programming language.
Object Oriented Programming In Java
Feb 18, 2021.
Object-oriented programming is the basic term of any programming language like Java. Object-Oriented Programming (OOP) in Java, covering concepts like Class, Object, Inheritance, Abstraction, Encapsulation, and Polymorphism. Includes example programs for each concept.
C# Basic OOPs Concepts
Sep 21, 2020.
"Basic OOPs concepts in C# involve classes, objects, inheritance, encapsulation, and polymorphism. It includes access modifiers, constructors, and destructors, along with method overloading and overriding.
Method Overloading And Method Overriding
Jun 29, 2020.
Interview question series that includes various topics with explanations and possible questions based on the topic. This article explains the concept of method overloading and method overriding.
Replace Conditional Statements (IF/ELSE Or SWITCH) With Factory
May 05, 2020.
Learn how to replace long IF/ELSE or SWITCH statements with polymorphism using the RIP design pattern. This article covers implementing the Simple Factory pattern and lazy loading, enhancing code maintainability and readability in Visual Studio 2019 with .NET Framework.
OOPS Interview Questions - C#
Apr 08, 2020.
Here is a list of the most popular OOPS interview questions and answers explained. These OOPS interview questions are for both beginners and professional C# developers.
Is Python Object Oriented?
Nov 06, 2019.
This article will describe whether Python is Object Oriented or not. You will get to know about the OOPS concepts used in Python with details.
Abstract Classes In C#
Dec 08, 2015.
In this article you will learn about abstract classes in C#.
Pillars Of OOP/Overview Of OOP
Sep 22, 2015.
In this article you will get an overview of OOP. A programming model which is mainly organized around the objects is called Object Oriented Programming.
OOP Overview
Jul 21, 2015.
This article explains Object Oriented Programming (OOP).
Method Overloading and Method Overriding in C#
May 21, 2015.
The main objective of this article is to learn about method overloading and method overriding in polymorphism in C# programming.
Interface in C#
Mar 24, 2015.
In this article we learn some interesting things about interfaces and try to remove confusion about interfaces.
Operator Overloading In C#
Sep 19, 2014.
In this article we are going to learn operator overloading, and the basic concepts of operator overloading.
Functions in JavaScript
Jan 22, 2014.
This article describes functions and the absence of polymorphism in JavaScript.
Object Oriented Programming in C#.Net
Oct 14, 2013.
This article defines Object Oriented Programming in C#.Net.
Object Oriented Programming Concepts in C# (2023)
May 29, 2013.
This article defines OOPs concepts in C#. The key OOPs contents are abstraction, encapsulation, inheritance, and polymorphism. Learn how to implement OOPs concepts in C# and .NET.
Object Oriented Programming Using C#: Part 9
May 29, 2013.
Explore advanced concepts in C# Object-Oriented Programming (OOP) in this ninth installment. Dive into topics like inheritance, polymorphism, encapsulation, and more. Learn how to leverage these principles to design robust and scalable applications in C#.
Simplest Way To Learn Object Oriented Programming
May 25, 2013.
This article provides the sImplest way to learn Object Oriented Programming.
Learn Object Oriented Programming Using C#: Part 7
May 22, 2013.
Delve deeper into Object-Oriented Programming with C# in Part 7 of our comprehensive tutorial series. Explore advanced concepts like inheritance, polymorphism, and more. Enhance your coding skills and understanding of C# classes and methods.
Learn Object Oriented Programming Using C#: Part 5
May 20, 2013.
Delve deeper into Object-Oriented Programming with C# in Part 5 of our series. Explore advanced concepts like inheritance, polymorphism, and encapsulation, empowering you to build robust and efficient applications.
Learn Object Oriented Programming Using C#: Part 2
May 10, 2013.
Discover advanced Object-Oriented Programming techniques in C# with our comprehensive Part 2 guide. Master inheritance, polymorphism, encapsulation, and more. Learn to create robust classes, utilize interfaces, and leverage abstract classes for efficient code design.
OOP Principles In Java
Mar 26, 2013.
In this article, we will discuss Object Oriented Programming (OOP) principles in Java. We will also discuss its features in detail i.e polymorphism, inheritance, encapsulation and abstraction.
Understanding Properties in VB.NET
Nov 09, 2012.
In VB.NET, properties are nothing but natural extension of data fields. They are usually known as ‘smart fields’ in VB.NET community. We know that data encapsulation and hiding are the two fundamental characteristics of any object oriented programming language.
The Is and As Operators in C#
Jul 05, 2011.
In C#, the "is" operator checks if an object is of a specified type, returning a boolean. The "as" operator attempts to cast an object to a specified type, returning null if the cast fails. Both operators facilitate safe type conversions and runtime type checking, enhancing type safety and reducing exceptions in object-oriented programming.
Common Interfaces Using C#
Apr 07, 2010.
In this article, I will explain to you about Common Interfaces using C#. Common interfaces in C# provide a way to define a contract for classes, ensuring that they implement specific methods and properties. By using interfaces, developers can establish a common set of behaviors that classes must adhere to, enabling polymorphism and abstraction in their programs. Interfaces facilitate the decoupling of code, making it easier to change implementations without affecting the code that uses the interface. Additionally, interfaces play a crucial role in achieving dependency injection, allowing for flexible and testable software architectures. In summary, interfaces in C# promote code reusability, maintainability, and flexibility by defining a standard structure that classes can follow.
Abstract Class vs Interface
Jun 10, 2009.
Abstract classes provide a partial implementation with the option for subclasses to extend, while interfaces define a contract without implementation, allowing multiple inheritance. Abstract classes support method implementations.
Overriding The System.Object Class Methods
Jun 03, 2008.
In this article you will take a look on the Object class the base class for all data types in the .NET Framework. You will see also how to give your custom type a new look by overriding the Object class virtual methods.
The Second Pillar of Object-Oriented Programming - Inheritance
May 22, 2008.
In this part of the object-oriented programming series I will introduce the second pillar of object oriented programming (inheritance); you will see how to use inheritance to create classes based on existing classes.
Introduction to object oriented programming
May 09, 2008.
This article will provide you an overview about the object-oriented programming main pillars (Encapsulation, Inheritance, and Polymorphism).
Object Oriented Concepts in C#
Dec 24, 2003.
In this article we will discuss key concepts of object orientation with their practical implementation in C#. We will discuss here basics of OOPS including Interfaces, Access Modifiers, inheritance, polymorphism etc.