TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
About Inheritance
Share
facebook
twitter
linkedIn
Reddit
Topics
No topic found
Content Filter
Articles
Videos
Blogs
News
Complexity Level
Beginner
Intermediate
Advanced
Refine by Author
[Clear]
Ajay Kumar (5)
Naveed Zaman (5)
Ayush Gupta (3)
Mark Pelf (3)
Jaimin Shethiya (3)
Anand Lakshminarasimh (3)
George (2)
Jignesh Trivedi (2)
Geo J Thachankary (2)
Pankaj Patel (2)
Ehsan Sajjad (2)
Vulpes (2)
Mukesh Kumar (2)
Sagar Pardeshi (2)
Sanjay Kumar (1)
Jeeva Subburaj (1)
Mamta M (1)
Vijay Yadav (1)
Gaurav Gahlot (1)
Lokendra Singh (1)
Aman Gupta (1)
Pankaj Kumar Choudhary (1)
Rajesh Pawde (1)
Sandeep Sharma (1)
Chetan Sanghani (1)
Kiran Mohanty (1)
Sardar Mudassar Ali Khan (1)
Vikas Singh (1)
Rishabh Bhardwaj (1)
Darshan Adakane (1)
Prasad Raveendran (1)
Kaviya Balasubramanian (1)
Shivprasad (1)
Michal Habalcik (1)
Nagaraj M (1)
Adam Stirtan (1)
Jean Paul (1)
Gurpreet Arora (1)
Pradeep Shet (1)
Jitendra Mesavaniya (1)
Ishika Tiwari (1)
Vijay Kumari (1)
Keyur (1)
Sandip Jadhav (1)
C# Curator (1)
Amr Monjid (1)
Mahak Gupta (1)
Ratnesh Singh (1)
mercy_gp (1)
Shashi Ray (1)
Craig Breakspear (1)
Gaurav Rawat (1)
Sourav Kayal (1)
Daniel Clark (1)
Atul Sharma (1)
Matthew Cochran (1)
Satendra Singh Bhati (1)
Jagannath Sethi (1)
Mahesh Alle (1)
Pradeep Vaishya (1)
Priyaranjan K S (1)
Erika Ehrli Cabral (1)
Mohit Kala (1)
Vithal Wadje (1)
Prabhat Kumar (1)
Ehtesham Mehmood (1)
Dipen Lama (1)
Santosh Sarnobat (1)
Shivam Payasi (1)
Navin Prakash (1)
Anmol Arora (1)
Pandurang Pailvan (1)
Erika Ehrli (1)
Ashok Kumawat (1)
Delpin Susai Raj (1)
Tusharkant Agarwal (1)
Related resources for Inheritance
No resource found
Dependency Properties in WPF: Benefits, Usage, and Examples in C#
10/21/2024 6:14:51 AM.
A Dependency Property in WPF is a specialized property supported by the WPF property system. It enables data binding, styling, animation, and value inheritance. This system improves memory efficiency
Can a Private Member be Inherited by Derived Class?
10/10/2024 10:24:00 PM.
This article is discussing if a private member can be inherited by derived class.
Can a Static Member be Inherited by Derived Class?
10/10/2024 10:23:29 PM.
This article discusses if a static Member be Inherited by Derived Class?
Efficient Package Management in Large Enterprises with Directory.Packages.props
9/23/2024 6:48:31 AM.
Managing NuGet package versions in large C# solutions can be challenging. The Directory.Packages.props file simplifies this by allowing you to define package versions in one central location, ensuring
Entity Framework Core Feature - Global Query Filters
9/12/2024 5:59:39 AM.
Learn how to implement Global Query Filters in Entity Framework to apply automatic filters at the model level. This feature is commonly used for scenarios like soft delete and multi-tenancy, ensuring
Interface Re-implementation in C#
8/29/2024 6:04:07 AM.
This guide covers the principles of object-oriented programming, including inheritance and polymorphism, and demonstrates practical techniques for effective interface re-implementation and code refac
Understanding the Liskov Substitution Principle (LSP) with C#
8/14/2024 8:15:01 AM.
The Liskov Substitution Principle (LSP) ensures that objects of a base class can be replaced with objects of a derived class without altering program correctness. This principle, part of SOLID design,
Understanding Access Modifiers in .NET Core
8/13/2024 5:25:10 AM.
Access modifiers in .NET Core control the visibility and accessibility of classes, methods, and variables. They include Public, Private, Protected, Internal, Protected Internal, and Private Protected.
Understanding the Open/Closed Principle (OCP) with C#
8/12/2024 8:46:10 AM.
The Open/Closed Principle (OCP) states that software entities should be open for extension but closed for modification. This principle helps in creating flexible and maintainable code by allowing new
Understanding Relationship Between Objects
8/7/2024 10:53:55 AM.
Object relationships define how different classes interact in an application. Collaboration (uses-a), Aggregation (has-a), and Inheritance (is-a) are key types. For instance, Customer and Order use ag
Understanding Sealed Classes in C#
7/22/2024 8:27:05 AM.
Sealed classes in C# are a vital concept in object-oriented programming, preventing other classes from inheriting them. This ensures a secure and stable class hierarchy by stopping further extension.
Object Oriented Programming in Python
7/19/2024 5:03:08 AM.
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 pra
Bridge Design Pattern
7/18/2024 2:51:39 PM.
The Bridge Design Pattern in Java separates abstraction from implementation, allowing them to vary independently. It promotes decoupling by creating a bridge between abstraction and its implementation
Encapsulation, Inheritance, and Polymorphism in C#
7/18/2024 10:38:48 AM.
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.
Wrapper Class vs. Object Composition with UseCase
7/18/2024 9:38:59 AM.
Explore Wrapper Classes and Object Composition in object-oriented programming. Learn how wrappers adapt interfaces and enhance functionality without altering code, ideal for legacy systems.
C# Abstract Class with Examples
7/17/2024 10:28:16 AM.
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
Polymorphism Concept OOPS
7/16/2024 6:58:21 AM.
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 cl
Object Inheritance and Object Composition in Object Oriented Programming
7/12/2024 10:28:38 AM.
This content delves into two fundamental concepts of Object-Oriented Programming (OOP): object inheritance and object composition. It explores how inheritance enables class hierarchies and polymorphis
JavaScript – Prototypal Inheritance – Illustrated
7/12/2024 7:06:15 AM.
JavaScript – Prototypal Inheritance – Illustrated" is an in-depth guide that explores the concept of prototypal inheritance in JavaScript. This illustrated tutorial simplifies complex topics like
Types Of Relationships In Object Oriented Programming (OOPS)
6/24/2024 9:01:53 AM.
This article explores the key relationships in Object-Oriented Programming (OOP), including inheritance, association, composition, and aggregation. These relationships enable code reuse and flexibilit
Pillars Of OOP/Overview Of OOP
6/17/2024 10:50:44 AM.
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.
Difference Between Class And Interface
6/12/2024 9:39:00 AM.
Understand the distinctions between classes and interfaces. Classes encompass both definition and implementation, while interfaces solely provide definitions. Classes support single inheritance, where
OOPS Interview Questions - C#
6/7/2024 10:31:18 AM.
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.
Comprehensive Guide to C# Programming for Developers
6/6/2024 5:05:55 AM.
C# (C sharp) is a versatile programming language by Microsoft, ideal for web, desktop, mobile, cloud, and gaming apps. It features strong typing, garbage collection, and extensive libraries.
C# Basic OOPs Concepts
6/4/2024 12:47:27 PM.
"Basic OOPs concepts in C# involve classes, objects, inheritance, encapsulation, and polymorphism. It includes access modifiers, constructors, and destructors, along with method overloading and o
Sealed Class in .NET C#: Syntax, Usage, and Example
5/30/2024 9:46:27 AM.
Users are prevented from inheriting a class by using sealed classes. The sealed keyword can be used to seal a class. The keyword informs the compiler that an extension of the class is not possible bec
Learn Object Oriented Programming Using C#: Part 2
5/24/2024 8:57:02 AM.
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 i
Learn Object Oriented Programming Using C#: Part 5
5/24/2024 8:55:43 AM.
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
Learn Object Oriented Programming Using C#: Part 6
5/24/2024 7:28:34 AM.
Explore advanced concepts in Object-Oriented Programming (OOP) with C# in Part 6 of this series. Learn about inheritance, polymorphism, interfaces, and abstract classes. Understand method overriding,
Understanding Generic Constraints in C#
5/21/2024 5:41:04 AM.
Generics in C# allow you to define classes, methods, and interfaces with a placeholder for the type of data they store or use. This flexibility enables you to write more general and reusable code.
Object Oriented Programming Using C#: Part 9
5/13/2024 11:52:47 AM.
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 princ
Abstract Class in .NET C#: Syntax, Usage and Example
5/13/2024 5:01:47 AM.
Abstract classes in .NET C# provide a blueprint for other classes to inherit from. They contain abstract methods that must be implemented by derived classes. Learn syntax, usage, and see examples to u
Mastering OOP in C#: A Real-World Project Journey
5/13/2024 4:57:51 AM.
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
C# Inheritance: Basics and Practical Examples
5/10/2024 8:50:33 AM.
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
Understanding the Connections Between Classes in OOP
5/10/2024 7:58:52 AM.
Understanding how different tools in a toolbox are used to build something. This guide helps you see how these classes share information and work together to create software, making it easier to under
Learn About SOLID Principles
5/7/2024 11:24:48 AM.
SOLID principles are fundamental to object-oriented design, ensuring code is clean, maintainable, and scalable. Learn SRP, OCP, LSP, ISP, and DIP for robust, flexible software architecture.
Stop The Inherit Permission For List In SharePoint Online
5/3/2024 8:53:23 AM.
Stop permission inheritance for a SharePoint Online list to establish unique access control. Break inheritance from site-level permissions, granting tailored access settings for enhanced security and
3 Important Concepts: - Association, Aggregation and Composition
5/1/2024 11:12:36 AM.
Explore essential OOP concepts like association, aggregation, and composition through real-world examples. Understand their significance in modeling relationships and code maintainability. This artic
Extend the C# Types Easily With Extension Methods
4/26/2024 10:45:21 AM.
Easily extend C# types using extension methods for enhanced functionality without modifying the original type. Improve code readability and reusability by adding custom methods to existing types, fost
Implementing Equality For Reference Types
4/25/2024 7:58:08 AM.
Learn how to implement equality for reference types in C# to compare objects based on their values rather than their references. Understand the complexities introduced by inheritance and null handling
Learn about Extensions in C#
4/22/2024 8:30:46 AM.
Learn about extending class functionality in C# using extension methods without altering source code. Understand inheritance vs. extensions, handling sealed classes, method chaining, and key points li
Learn Dependency Properties In WPF?
4/15/2024 10:43:40 AM.
In this article, we will understand Dependency Properties in WPF provide a powerful way to manage and interact with data in your application's user interface. They offer features like value inheri
Polymorphic serialization using System.Text.Json
4/12/2024 5:50:15 AM.
Polymorphic serialization is the process of serializing and deserializing objects of different types that share a common base type. This allows us to preserve the specific type information of each obj
SharePoint Permissions: Part 2 of 3
4/3/2024 11:03:39 AM.
SharePoint Permissions: Part 2 of 3 covers access control, user roles, list and document library permissions, item-level permissions, inheritance, and management of SharePoint groups for effective gov
C# Structs: Performance Benefits, Usage, and Best Practices
4/1/2024 4:25:28 AM.
This article provides an insightful overview of structs in C#, detailing their value type nature, stack allocation, and key characteristics. It includes examples and considerations for when to use str
Object Oriented Programming With A Real-World Scenario
3/28/2024 10:35:38 AM.
This article explores the significance of real-world scenarios in understanding Object-Oriented Programming (OOP) for young programmers. It discusses the four pillars of OOP - abstraction, encapsulat
What is a Sealed Classes in C#?
3/28/2024 6:49:58 AM.
In C#, the concept of inheritance plays a vital role in object-oriented programming (OOP). Developers often design class hierarchies to create a relationship between different types of objects. Howeve
Decorator Pattern in C# - 3 versions
3/20/2024 10:17:27 AM.
In this article, we will explore the versatile Decorator Pattern in C#, presented in 3 different versions. Enhance your understanding of object-oriented design with this powerful pattern, offering fle
Simulating Multiple Inheritance in C#: Part II
3/19/2024 6:23:09 AM.
Learn advanced techniques in C# to simulate multiple inheritance. Explore how to effectively combine classes, interfaces, and other features to achieve complex behavior in your programs. Part II of th
Simulating Multiple Inheritance in C#: Part I
3/19/2024 6:16:39 AM.
In this article, we will explore techniques for simulating multiple inheritance in C#. Discover how to leverage interfaces, composition, and class hierarchies to mimic this powerful feature, enhancing
What is Alternative of Multiple Inhertitance in C#?
3/18/2024 7:22:10 AM.
This approach allows for achieving some level of multiple inheritance-like behavior while avoiding the complexities associated with traditional multiple inheritance.
Object Oriented Programming In Java
2/29/2024 4:57:24 AM.
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, Encapsul
Learn about Sealed Classes in C#
2/14/2024 6:09:40 AM.
In C# programming, sealed classes offer control over inheritance but can be restrictive. This article delves into unlocking their potential using extension methods and the decorator pattern. These tec
How to Use Inheritance in PostgreSQL?
11/29/2023 5:14:32 AM.
PostgreSQL, a robust database system, introduces the concept of inheritance, enriching data organization. This article delves into utilizing PostgreSQL's inheritance for modeling hierarchical data
How to Choose Between Inheritance and Composition?
11/16/2023 6:41:17 AM.
When to use composition over inheritance and vice versa as a coding best practice.
Common Interfaces Using C#
10/30/2023 11:26:01 AM.
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 prope
The Third Pillar Of Object-Oriented Programming - Polymorphism:
10/30/2023 10:26:15 AM.
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 sam
Interface In C#
10/30/2023 6:23:34 AM.
In this article, we will be discuss what an interface is and how to easily implement an inheritance in it.In C#, an interface is a reference type that defines a contract for the behavior of a class. I
Overview Of SOLID Principles In C#
10/30/2023 5:04:17 AM.
This article explains the basic rules which are combined and called the SOLID Principles. SOLID principles are a set of design principles in object-oriented programming (OOP) that help developers crea
Hello World In different Styles
10/26/2023 9:43:29 AM.
I've attempted to write the traditional 'Hello World' in different styles. This explores the different possibilities of addressing a problem - 'Hello World' with different features
Structs In C#
10/17/2023 10:06:13 AM.
This article introduces struct types in C# and .NET Framework.
How to implement Multiple Inheritance in C#
10/11/2023 12:42:33 PM.
Learn how to implement multiple inheritance in C#. Inheritance is one of the key characteristics of an object oriented programming language.
Why Is Composition Favored Over Inheritance?
10/11/2023 12:13:33 PM.
Here you will see why composition is favored over inheritance.
Simplest Way To Learn Object Oriented Programming
10/6/2023 7:18:47 AM.
This article provides the sImplest way to learn Object Oriented Programming.
Measure Depth Of Inheritance And Class Coupling In Visual Studio
10/6/2023 5:24:36 AM.
Here, we will see how to measure depth of inheritance and class coupling in the Visual Studio environment.
Types Of Polymorphism
10/5/2023 11:33:21 AM.
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 class
Inheritance In C#
9/25/2023 10:20:01 AM.
Inheritance is a powerful feature of Object Oriented Programming languages. Using inheritance you create base classes that encapsulate common functionality. The base class is inherited by derived clas
Implement Multiple Inheritance In C#
9/25/2023 5:59:06 AM.
C# does not support multiple inheritance for classes in the traditional sense, meaning a class cannot inherit from more than one class. However, C# provides mechanisms to achieve similar functionality
C# Using The Proxy Pattern To Define Relationships
9/22/2023 10:27:49 AM.
I was recently working on a 2.0 Framework project where we had many types of related objects. However, we needed to ensure that there were not multiple instances of the same object in memory. Usuall
Is-A and Has-A Relationship in Java
9/13/2023 5:12:53 AM.
In this article, you will learn about Is-A and Has-A relationships in Java.
Object-Oriented Programming in JavaScript
9/11/2023 7:15:17 AM.
This article explores JavaScript's Object-Oriented Programming (OOP) fundamentals, covering object creation, constructor functions, methods, inheritance, and ES6 classes, enabling modular and main
Abstract Class Vs Interface in C#
9/6/2023 11:14:03 AM.
n C#, both abstract classes and interfaces are used to define contracts for classes, ensuring that they adhere to a certain structure or behavior. However, they serve different purposes and have disti
Pillar of OOPS (Object Oriented Programming)
9/6/2023 8:08:58 AM.
This article explores the fundamental pillars of Object-Oriented Programming (OOP): Encapsulation, Abstraction, Polymorphism, and Inheritance. It provides detailed explanations and real-world examples
Learn All About Inheritance in C#
9/5/2023 7:05:38 AM.
Inheritance is a fundamental concept in object-oriented programming (OOP) and is widely used in C#. It allows you to create a new class that is based on an existing class, inheriting its attributes an
Use Of Interface With Real Time Examples, Interview Questions And Answers About Interface In C#
9/1/2023 5:51:48 AM.
In this article, you will learn how to use of interface with real time examples, interview questions and answers about interface in C#.
Equality Operator (==) With Inheritance And Generics In C#
8/21/2023 11:25:05 AM.
Equality Operator (==) With Inheritance And Generics In C#.
C# Abstract Classes: Definition, Usage With Example
8/7/2023 5:24:16 AM.
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 becom
Object Relational Mapping (ORM) Using NHibernate - Part 5 - A of 8
8/4/2023 11:39:30 AM.
This is Part 5A of the article series, which concentrates on Many-to-Many Entity Association with a commonly used example but the model and code is a little different.
Object Relational Mapping (ORM) Using NHibernate - Part 6 of 8
7/31/2023 9:23:39 AM.
We will discuss one of four ways of mapping inheritance hierarchies in Nhibernate; the way which gives maximum support for inheritance and polymorphism (the main benefit of capturing an inheritance he
Object Relational Mapping (ORM) Using NHibernate - Part 3 of 8
7/28/2023 7:00:28 AM.
Firstly in part 1 of this article series, it had been shown that in ORM, while mapping a one-to-one association between objects to their corresponding tables, the primary key of one table is posted as
Break Inheritance And Add Role Permissions Using REST API In SharePoint
7/19/2023 12:05:37 PM.
In this article you will learn how to Break Inheritance and Add Role Permissions using REST API in SharePoint.
Power Automate - Break Inheritance And Set List Item-Level Permissions In SharePoint Online
7/17/2023 7:15:19 AM.
In this article you will learn about power automate - break inheritance and set list item-level permissions in sharepoint online.
Fluent Interface Pattern in C# With inheritance problem
6/14/2023 5:42:50 AM.
Tutorial article on Fluent Interface Pattern in C#.
OOPS Concepts And .NET - Part Two - Inheritance, Abstraction And Polymorphism
6/6/2023 6:55:48 AM.
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
Power Automate - Break Inheritance, Remove And Set List Item-Level Permissions In SharePoint Online
6/2/2023 9:38:46 AM.
In this article, you will learn about Power Automate - Break Inheritance, remove and Set List Item-Level Permissions in SharePoint Online.
C# Inheritance
5/12/2023 9:51:31 AM.
What is Inheritance
Types of Inheritance In C#
2/27/2023 5:06:37 AM.
In this article, we will learn about C# inheritance and types of inheritance in C# and .NET.
11 Code Excercises on Inheritance in C# .NET
2/12/2023 8:22:29 PM.
This article explains the various behaviors of inheritance in C# and .NET.
Inheritance with Example in C#
2/12/2023 7:30:04 PM.
In this article, let's see how to implement Inheritance with code examples in C# and .NET.
Inheritance Vs Interfaces
11/22/2022 9:22:39 AM.
This article describes the advantages of using interfaces over inheritance and how to create a plug and play component in .NET using an interface.
Break Inheritance And Set Item-Level Permission Using Power Automate
10/18/2022 7:14:40 AM.
In this article, we will learn how to set item-level unique permissions in SharePoint using HTTP request with Power Automate
Dataflow In Inheritance Using C#
9/16/2022 5:58:56 AM.
In this article, I'm going to explain how data flows when we are using Inheritance, this article also helps in making your concept crystal clear about the data flow.
Inheritance VS Composition
8/25/2022 7:11:08 AM.
The relationship among classes is one of the fundamental activities of software design. There are two ways to relate classes: inheritance and composition.
Get Started With OOPS In Flutter 😎
7/13/2022 11:52:50 AM.
Here cover some interesting topics like inheritance, abstract classes and computed properties.
Ambiguity Resolution In CPP Programming
4/13/2022 1:07:32 PM.
Ambiguity refers to the condition that usually represents several interpretations from a single context. Coming to our technical stage, this will be followed in the concept of Inheritance mainly we sa
Multiple Inheritance - .Net Framework Vs .Net Core
2/7/2022 5:59:35 AM.
In this article, we will see how to achieve C# multiple inheritances by using interfaces and solve diamond shape problem.
OOPS Concepts and .NET Part 2: Inheritance, Abstraction, & Polymorphism
1/12/2022 11:36:01 AM.
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 fi
Order Of Constructors Calling With Inheritance In C#
1/5/2022 10:27:58 AM.
In this article, you will learn about Order of constructors calling with inheritance in c#.
Xamarin.Forms - Style Inheritance
12/16/2021 3:47:46 PM.
In this article, you will learn how to implement Style Inheritance in Xamarin.Forms app.
Object Oriented Concepts in C#
11/15/2021 11:29:30 AM.
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, p