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

  • 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 & Interface: Two Villains of Every Interview - Part 2

    This article explains the important key points of interfaces.
  • Abstract Class & Interface: Two Villains of Every Interview - Part 1

    This article is the first part of the series "Abstract Class & Interface: Two Villains of Every Interview" and explains the important key points of Abstract Class.
  • Object Oriented Programming With 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 vs Interface

    This tutorial will try to explain the difference between Abstract Class and interface theoretically and programmatically both ways.
  • 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...
  • 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, especiall...
  • 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. Oop...
  • 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...
  • 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 whi...
  • Aborting Thread Vs Cancelling Task

    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 executi...
  • Static Keyword: Static Class & Members

    In this video learn about static keyword in C#. This video has code walkthrough for C# static examples. BY the end of this video, you will be able to understand about the static keyword in c#.
  • Introduction to Object-Oriented Programming

    This article is a brief introduction to OOP. The basic building blocks of object-oriented programming are the class and the object. A class acts as a blueprint/template to create the instances/obje...
  • Explore Interface Vs Abstract Class

    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 ...
  • OOP Series #2: Understanding Access Specifiers In C#

    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 keyw...
  • Abstract Vs Interface In C#

    This video helps to understand the similarities and differences between Interface & Abstract class in C#. Which one to choose, what are their purpose
  • Similarities between Class and Struts

    This blog shows the similarities between Class and Struct.
  • Concept Of Factories In Object Oriented Programming

    Concept Of Factories In Object Oriented Programming.
  • Make Encapsulation Easy With dotNetTips.Utility

    Encapsulation is the first pillar of Object Oriented Programming (OOP), yet most code that I see does not implement encapsulation correctly or not all. Like I say in many of my conference sessions ...
  • Difference Between Method Overloading And Method Overriding

    In this blog, we are trying to understand one of the important object oriented features of C# language.
  • What Is An Abstract Class?

    In this blog, you will learn about abstract class.
  • What Is An Encapsulation

    In this blog, we will see why encapsulation is important in an Object Oriented programming language.
  • View More