O'Reilly logo

Visual C#® 2012: How to Program, Fifth Edition by Harvey Deitel, Paul Deitel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

Section 7.1 Introduction

• 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.

Section 7.2 Packaging Code in C#

• 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.

Section 7.3 static Methods, static Variables and Class Math

• 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

ClassName.MethodName( arguments)

• Method ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required