Object Orientation in C#

At the very heart of the object-oriented paradigm is the concept of classes. What follows is a discussion of classes and their relation to object orientation. This chapter discusses object orientation, with a specific focus on how it works in C#. The working of object orientation in C# also will be compared with how it works in other languages, such as C++ and Java.

Object Orientation

Object orientation refers to the method of programming where data and methods that manipulate data are bound into a single object. Object-oriented programming brings with it a number of advantages, such as code reusability and extensibility.

Object-oriented programming is built on the following three primary concepts:

Get Special Edition Using C# now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.