Introduction to OOP.

Object-oriented programming (OOP) is generally accepted as being far more flexible than other computer programming languages. Basically, its a style of programming, that makes things much easier. Details:.NET C# Schulung(German).

To get a picture of object oriented programming, there are a few concepts you will need to become familiar with.

Class
A class may be defined as a self contained unit that encapsulates a collection of data and methods that operate on the data. It is a programmer defined type that serves as a template for instances of the class. Recall a class is just template for 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
Every object has a specific behavior, it is defined in methods of the class. To modify an object’s state, one of the object’s behaviors must be used.

State
To define objects we have to define two things: state and behavior. Hence objects of a class are similar except for their state.

Abstraction
Abstraction is the procedure of extracting essential properties while omitting inessential details. It is the elimination of the inessentials.

Encapsulation
Encapsulation is storing data and functions in a class. It means as much as shielding. Each object has a shield around it. In the context of OOP, encapsulation is often called a black box. Encapsulation is one of the fundamental OOP concepts. An excellent way to improve your teams dotnet skills, is by booking a C# Schulung (German)}.

www.smart-poll.com


Leave a Reply