• Experience has shown that the best way to develop and maintain a large app is to construct it from small, simple pieces. This technique is called divide and conquer.
• Three common ways of packaging code are methods, classes and namespaces.
• Methods allow you to modularize an app by separating its tasks into self-contained units.
• Dividing an app into meaningful methods makes it easier to debug and maintain.
• You can call any
static method by specifying the name of the class in which it’s declared, followed by the member access (
.) operator and the method name, as in
• Method ...