Introduction to Object Oriented Programming Concepts in C#
OOPs is a concept of modern programming language that allows programmers to organize entities and objects. Four key concepts of OOPs are abstraction, encapsulation, inheritance and polymorphism. Here learn how to implement OOP concepts in C# and .NET. OOP Features Object Oriented Programming (OOP) is a programming model where programs are organized around objects and data rather than action and logic. OOP allows decomposition of a problem into a number of entities called objects and then builds data and functions around these objects. A class is the core of any modern Object Oriented Programming language such as C#. In OOP languages it is mandatory to create a class for representing data. A class is a blueprint of an object that contains variables for storing data and functions to perform operations on the data. A class will not occupy any memory space and hence it is only a logical representation of data. The software is divided into a number of small units called objects.