Theme-Logo
  •   .Net
    •   C Sharp(C#)
    •   Web API
    •   Micro Services
    •   ASP.Net
    • ASP.Net MVC
    • .Net Core
  •   Database
    • SQL Server
    • Oracle
    • PostgreSQL
  •   jQuery
    • jQuery Tutorials
    • jQuery Plugins
    • jQuery UI
    • More on jquery
  •   Tutorials
    • Microservices Tutorials
    • DotNet Core Tutorials
    • PostgreSql Tutorials

Object Oriented Programming (OOP) Concepts

Object Oriented Programming means writing programming which are OBJECT oriented or organized around objects rather than action and logic.

Why Object Oriented Programming (OOPS)?

We already had procedural programming so why OOPS. As we know that procedural programming is about writing procedures or methods(function) that perform operations on the data, while object-oriented programming is about creating objects that contain both data and methods. So to avaoid repetition of code OOPs come in picture.

OOP helps to keep the C# code DRY - "Don't Repeat Yourself" which is about reducing the repetition of code. You should extract out the codes that are common for the application, and place them at a single place and reuse them instead of repeating it.

OOP makes it possible to create full reusable applications with less code and shorter development time.

OOP provides a clear structure for the programs to make code faster and easier to execute.

Summary

To summarise, OOP allows decomposition of a problem into a number of entities called objects and then builds data and functions around these objects. Hope you picked up a thing or two.

Cheers!

❮ OOPs Tutorials
Four Pillars Of OOPs ❯

Trending Post
Dependency Injection in C#
Inversion of controls (IoC)
Design patterns
Service-Oriented Architecture(SOA)
Interview Questions and Answers
What is Request delegate?
What is Host in ASP.NET Core?
Describe the Generic Host and Web Host?
Describe the Servers in ASP.NET Core?
How to read values from Appsettings.json file?
How to handle errors in ASP.NET Core?
About us

DotNet Palace is a community platform created and maintained by The articles are mainly focused on Microsoft stack technologies like C#, ASP.Net, MVC, .Net Core, SQL Server and Oracle, PostgreSQL, SQLite etc. To improve the site's content you can send your valuable suggestions at info.dotnetpalace@gmail.com

Quick links
  • SOLID Principles
  • Questions
  • OOPS Principles
  • DotNet Palace Tutorials
  • Privacy Policy
  • Terms and Condition