Object-oriented programming (OOP) is generally accepted as being far more flexible than other computer programming languages. It is about defining object classes and instantiating objects from those classes. Details:C# Schulung(German).
Before you can begin with OOP, it s essential to know the terminology used.
Class
A class is the blueprint from which the individual objects are created. It contains member functions for the behavior and member variables for the state. What this basically means is that we supply a blueprint, or an outline of an object. Used in:Webanwendungen mit ASP.NET(German).
Object
An object may be defined as an instance of a class that has state and behavior. It is a software bundle of related state and behavior. Software objects are often used to model real-world objects you find in everyday life.
Behavior
An object is a software bundle of related state and behavior. Real-world objects share two characteristics: They all have state and behavior.
State
To define objects we have to define two things: state and behavior. A car can be represented as a class with a state variable of price and methods like Stop, Move etc.
Abstraction
Abstraction is the arrangement of simple concept to the external world. It solves the problem in the design side while encapsulation is the implementation.
Encapsulation
Encapsulation is the method of keeping data and methods together inside objects. It means as much as shielding. Each object has a shield around it. This encapsulation is like a contract between the implementer of the class and the user of that class. Encapsulation is one of the most important characteristics of an object oriented system. An excellent way to improve your teams C-Sharp skills, is by booking a C# Schulung (German)}.