February 28, 2010
The concepts of OOP.
Object-oriented programming (OOP) is widely 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).
Before you can begin with OOP, it s important to know the terminology used.
Class
The primary concept that you will need to learn is called a “class.” A class is a blueprint used to construct objects. You use a class to instantiate objects. 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 instance of a class is called object. It combines different classical data types into a set that defines a new variable type. Objects are the central idea behind OOP.
Behavior
Behaviors are things the object does, defined in the methods of the class. To change an object’s state, one of the object’s behaviors must be used.
State
The State is kept in variables, the Behavior is implemented in functions. A class’s state is represented by its member variables.
Abstraction
Abstraction refers to the act of representing fundamental features without including the background details or explanations. It is logical reasoning over data and control.
Encapsulation
Encapsulation hides the behavior of an object from its implementation. It is the packaging of several items together into one unit. The idea behind encapsulation is to keep the data separate from the code. This is sometimes called data hiding. Encapsulation is one of the fundamental OOP concepts. An excellent way to improve your teams C-Sharp skills, is by booking a VB Schulung (German)}.
Filed under Carly by Katz
Leave a Comment