Home » C# Basics
5
Object Oriented Programming in C#
In this chapter you will learn the basic concepts and methods of Object-oriented programming (OOP) and how it is applied in C#. Because of OOP's emphasis on modularity, object oriented code tends to be more flexible, simpler to develop and easier to understand.
In This Chapter:
- Understanding Object-Oriented Programming
- Overview and definition of object-oriented programming.
- Why we need classes and objects?
- Understand the advantages and uses of classes and objects in object oriented programming
- Do we need to create our own classes?
- Understand the benefits of creating our own classes in OOP
- How do we create a class?
- The procedure of creating a class in OOP is explained
- What are Methods?
- Defines what methods are and how it is used in OOP
- Constructor
- Defines what constructors are and how it is used in OOP