OOP/OOD
Welcome to the Object Oriented Programming section of C# Corner. In this section, you will find OOP and OOD related tutorials, books, articles, source code samples, videos, and discussions.

RECENT POSTS

  • Encapsulation And Abstraction, Same Or Different?

    A lot of developers have varying views on whether or not Encapsulation and abstraction are the same. This article presents a subtle difference between them.
  • D In SOLID - Dependency Inversion Principle (DIP)

    In this article, you will learn about Dependency Inversion Principle.
  • I In SOLID - Interface Segregation Principle (ISP)

    In this article, you will learn about I in SOLID - Interface Segregation Principle (ISP).
  • Understanding Object Oriented Programming in Non-Techical Way

    This video explains Object Oriented Programming features in simple Non-Technical Way for the people who think that Object Oriented Programming is complex to understand. I have explained the concepts o
  • O In The SOLID - Open Closed Principle (OCP)

    In this article, you will learn about O, i.e., the Open-Closed Principle (OCP) in SOLID.
  • S In The SOLID - Single Responsibility Principle (SRP)

    In this article, you will learn about S in the SOLID - Single Responsibility Principle (SRP).
  • Improve Your Model Classes With OOP - Part Three - Serialization

    In this article, you will learn about improve your model classes with OOP - Serialization.
  • Improve Your Model Classes With OOP - Part Two - Constructors, Interfaces And More

    In this article, you will learn how to improve your model classes with OOP.
  • Improve Your Model Classes With OOP - Part One - The Basics

    In this article, you will learn the tricks to improve your model classes with OOP.
  • Deep Dive Into SOLID Principles

    In this article, you will learn about SOLID principles with real time examples.
  • Basic Object Oriented Programming (OOP) Concepts

    In this article you will learn about the basics of Object Oriented Programming (OOP).
  • Object Oriented Programming With A Real-World Scenario

    This article is mainly intended for those already familiar with Object Oriented Programming (OOP) conceptually but are unable to link it with the real world and the programming world.
  • Abstract Class & Interface: Two Villains of Every Interview - Part 2

    This article explains the important key points of interfaces in C#. Learn what is interface, why we need an interface, how to define a C# interface.
  • Abstract Class & Interface: Two Villains of Every Interview - Part 1

    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.
  • Introduction to Object Oriented Programming Concepts in C#

    This article defines Object Oriented Programming concepts in C# including Abstraction, Encapsulation, Inheritance and Polymorphism. Includes Code Examples in C# and .NET.
  • Abstract Class And Interface - Two Pillars In Object Oriented Programming

    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.
  • Abstraction Vs Encapsulation In OOPS

    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.
  • OOP Series - Part One - Building And Consuming A Class Library (DLL) Using C#

    This article explains how to build and consume a Class Library (DLL) in C#.
  • An Overview Of SOLID Principles

    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 De
  • Proper Type Encapsulation - Part Two

    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 w
  • Replace If With Polymorphism With AutoFac DI Container

    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 g
  • Composition And Aggregation

    This article describes Composition and Aggregation
  • Proper Type Encapsulation - Part One

    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
  • Understanding Relationship Between Objects

    The relationship between objects defines how these objects will interact or collaborate to perform an operation in an application.
  • Learn About Mixin Pattern

    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
  • View More