It is a good idea to write your program in an oject-oriented-language.
Written by Author on October 19th, 2009If we wish to write a program for controlling a device for instance for a mobile phone we are quickly confronted with many different tasks: We have a to provide a method to insert the number, the display must be updated, the numbers entered should be persisted in case of a correction, a tone when you push the buttons should be installed, the number has to be sent to the provider etc.
The programm can become complex. If we programm in an object-oriented-language, we have the ability to divide these tasks to different classes. 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 defining data and methods. For the display, keyboard, provider we provide classes. These classes focusing only on their own task. The classes only contain data, they require for their task and the methods to change the data. It is not possible to change data from outside the class.
Through inheritance a class is reused. The derived class inherits all the data and methods of her base class. Program errors are to be looked for predominantly in the derived classes if the base classes are well tested. Those technics are used in the folowing seminars: Verteilte Anwendungen mit der Windows Communication Foundation – WCF(German) .
This also leads to a significant time savings. 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. Object-oriented-programs keeps the time for editing and debugging limited and is less expensive. A very good way to improve your teams C-Sharp skills, is by booking a Firmenseminar(German) .
