Why should you write your new programs in an object-oriented-language.

If we wish to write a program for controlling a device for instance for a mobile phone we have a lot of items to pay attention to: We have a to supply a method to insert the number, the numbers must be displayed, for a later correction, the numbers have to be stored, an acoustic feedback would also be useful, the phone number has to be sent to the provider etc.

It tends to be confusing because of the variety of all the tasks. If we programm in an object-oriented-language, we can produce a class for each task. You find datails in the agendas of the seminars like that: Inhouse Schulung in C#,VB.NET(German).

So what is a class ?
A class is a container of data and methods. You can think of a class as a blueprint specifying data and methods. We define a class for the keyboard, the display, the provider, etc.. These various classes perform only their own tasks. The classes only contain data, they require for their task and the methods to change the data. The object-oriented-language offers us with mechanisms to avoid access of data from one class to another class.

Through inheritance a class can be reused. The derived class inherits all the data and methods of her base class. If the base classes are well tested, program faults require to be find only in the derived new classes. Those technics are used in the folowing seminars: Vektor-orientierte Oberflächen mit WPF(German).

The time for testing is significantly shorter. It is much easier to make changes. Large programs include 1000 or more classes. The complexity of the tasks is divided into many small, manageable classes. Troubleshooting and maintaining of the program requires less effort and is less expensive. A very good way to improve your company’s dotnet skills, is by booking a Inhouse Dotnet-Training(German) .

Leave a Reply