Learn it from developers who built it.
Tutorials, how-tos and deep dives on AI, .NET, C#, cloud and developer tools, written by the community.
This article explains the important key points of Abstract Class in C#. Learn what is an Abstract Class, how to define an Abstract Class, and why do we need an Abstract Class.
Abstract classes are those classes which can't be initiated, that is, they are considered as incomplete classes. Let's learn the concepts of Abstract Classes and Interface in OOP.
This is a basic example of Abstraction vs Encapsulation we read in books, but it becomes very confusing when you try to search them online and explain from a technical perspective.
This article explains how to build and consume a Class Library (DLL) in C#.
An overview of SOLID Principles. SOLID. abbreviation means S for Single Responsibility, O for Open Close principle, L for Liskov Substitution principle, I for Interface segregation principle, D for Dependency inversion principle.
In part 1 of this article, I explained how to implement proper data encapsulation. In part 2 I want to talk about encapsulating business logic. I see this missing in a lot of type design, especially when using an ORM like Entity Framework.
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.
Encapsulation is one of the fundamentals of OOP (object-oriented programming). It refers to the bundling of data with the methods that operate on that data. Encapsulation is used to hide the values or state of a structured data object inside a class, preventing unauthorized parties' direct access to them. Publicly accessible methods are generally provided in the class (so-called getters and setters) to access the values, and other client classes call these methods to retrieve and modify the values within the object.
Mixin is an object oriented programming concept that has been used successfully in the enterprise application development scenarios. In an object oriented programming language, Mixin is a class which contains methods from other classes.
The below post is based on one of the question I answered on StackOverflow, in which the questioner wants to cancel a task when its taking too long to respond; i.e., taking too much time in execution and returning result.
Learn the fundamentals of object-oriented programming, including how classes and objects model real-world entities. The article also compares procedural programming with OOP.
Here I explore an Interface Vs an Abstract Class. An interface can only have a declaration but not a definition. An interface can only have methods, properties, indexers and events whereas a class can have everything.
This article explains access specifiers in C#. Access modifiers and specifiers are keywords to specify the accessibility of a type and its members. C# has 5 access specifier or access modifier keywords; those are private, public, internal, protected and protected Internal.
Concept Of Factories In Object Oriented Programming.
This article of the series “Diving into OOP” will explain the enum datatype in C#.
In this article we will cover each and every concept related to access modifiers in C#.
In this article of the series "Diving Into OOP", we’ll discuss the hottest and most exciting topic of OOP in C#, Abstract Classes.
In this part of article we will focus more on run time polymorphism also called late binding or dynamic binding.
Here we will focus solely on inheritance concept in OOP.
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.
In this article, you will learn an overview of polymorphism, inheritance and encapsulation in OOP.
This article explains properties in C# and OOP concepts.
In this article you will learn the different features of OOPS concepts.
Domain driven design is all about understanding the customer real business need. Here I am giving an introduction to Domain Driven Design.
In this article we are going to explain a real life example of Object Oriented Programming (OOPS). This question is frequently asked in interviews.
In this article you will learn the comparison between OOPs and Procedural Programming.
Explains the basics of object-oriented programming and its core principles: inheritance, encapsulation, polymorphism, and abstraction.
In this article you will learn about Composition and Inheritance in Object Oriented Programming.
Learn the difference between aggregation and composition, including object lifecycles, UML notation, and practical C# examples using mobile components.
Everything on OOP/OOD, not only its articles: the OOP/OOD page →
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterMembers onlyWrite an article and earn +1,000 SHARP when it is approved.
Write an article