Object-Oriented Programming (OOP) is a programming paradigm that uses objects. How data is modeled and manipulated through the use of objects is fundamental to any object-oriented program. Details:.NET Seminare in C#,VB.NET(German).
To understand object oriented programming, there are a few concepts you will require to become familiar with.
Class
A class may be defined as a self contained piece that encapsulates a collection of data and methods that work on the data. You need a class to create objects. Once a class is defined, any number of objects can be created which belong to that class. Used in:Vektor-orientierte Oberflächen mit WPF(German).
Object
An object is an instantiation of a class. It is a software bundle of related state and behavior. Software objects are often used to model real-world objects you locate in everyday life.
Behavior
Each object has behavior, that is, an object has a certain set of actions that it can perform. Software objects are modeled after real-world objects in that they have state and behavior.
State
The state is what data the object holds. A car can be represented as a class with a state variable of price and methods like Stop, Move etc.
Abstraction
Abstraction is the presentation of simple concept to the external world. It is the elimination of the inessentials.
Encapsulation
Encapsulation hides the behavior of an object from its implementation. It means as much as shielding. Each object has a shield around it. The idea behind encapsulation is to keep the data separate from the code. This is sometimes called data hiding. Encapsulation is one of the most important characteristics of an object oriented system. A very good way to improve your company’s C-Sharp skills, is by booking a Inhouse Training(German).
Object Oriented Programming can significantly enhance your productivity and the quality of the software you create. Object Oriented Programming is a style modeled on real life.
