O'Reilly logo

Visual Basic® 2012 How to Program, Sixth Edition by Paul Deitel, Abbey 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

6. Methods

Form ever follows function.

—Louis Henri Sullivan

O! call back yesterday, bid time return.

—William Shakespeare

Answer me in one word.

—William Shakespeare

Objectives

In this chapter you’ll:

• Construct programs modularly from methods.

• Create new methods.

• Pass information between methods.

• Learn simulation techniques that employ random-number generation.

• Understand how the visibility of identifiers is limited to specific regions of programs.

• Use method overloading and Optional parameters.

• Use debugger commands for entering and exiting methods and for continuing program execution.

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