Please enable Javascript for better experience...
Object Oriented Programming (OOPS) tutorial-C#
By Rahul Kumar Jha | Nov 29, 2014 | In Tutorials | Update: Mar 20, 2018 | Total Views [ 5041 ]
Taged In
(1 Like)
Rate

In this tutorial we will learn concepts of Object Oriented Programming System (OOPS). OOP is a leading technique which is being used by many programmers now a day to build applications. In upcoming chapters we will see many concepts like encapsulation, inteface, abstraction, polymorphism and many more.

Introduction

Usually people start learning programming by writing simple and small programs. They usually write all logics at one place which cause multiple problems like duplicacy, redundancy, maintenance etc. As time spent, many programming concepts came into picture to overcome this problem and failed due to some design issue. But Object Oriented programming with its approach helped developers a lot to achieve these constrainsts.

Structured, Unstructured and Modular programming

Before understanding what is mean by Object Oriented Programming (OOP), it is important to know about the other techniques or approach came in past. Intially when there was Unstructure Programming technique, everything was in same page. There was tremendous disadvantages once the program gets sufficiently large. If a statement needs at two place within same program, it must be copied at both the place. It was very difficult to maintain it when business ask to change any logic. To over come this situation a new technique came into picture and it was called Structured Programming or Procedure Oriented Programming (POP). In this technique program was divided into separate functions which was easier to manage and re-use as compared to unstructured approach. But this technique was also not so supportive as still every thing was at same place. Then Modular programming came into light and common functionalities was grouped into modules. But this came as a problem because there can be only one state per module so each module exists at most once in a program. Please click on the link to read more about these approaches.

What does Object Oriented Programming (OOP) mean?

Object Oriented approach came as a revolution and helped making programmer's life easier. It gained so much popularity due to some reasons.

  • Increased programmer productivity
  • Removed redundancy of code
  • Easy code maintenance
  • Reusability of code

The main idea behind this approach is to combine both data and function into single unit so that it should overcome modular programming problem. This unit is called Object. OOPS is total about managing objects. In the next part of this tutorial we will see more about objects and blue print which is known as class.

Class and Object in C# >>

Share this

About the Author

Rahul Kumar Jha
Rahul Kumar Jha
Founder, Developer dotnet-concept.com

Public profile: user/profile/99900001


Has working experience in different phases of Software Development Life Cycle (SDLC) in CMS, Gaming, Health Care and Financial Services domain using Agile pattern. Working experience in Design patterns, ASP.NET, MVC, ANGULAR, ANGULAR JS, Windows application, WCF, ADO.NET, SQL Server and Test Driven Development (TDD) environment with JQuery, JavaScript, N-Unit, Entity Frameworks, LINQ, Code Refactoring and Business Objects Models.

User's Comments


 
Please SignUp/Login to comment...

Or comment as anonymous...
* Name
* Email ID
Comment
 
 
 
 
 
 
Sponsors