O'Reilly logo

C# 2010 for Programmers, Fourth Edition by Harvey M. Deitel, Paul J. 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

7. Methods: A Deeper Look

Objectives

In this chapter you’ll learn:

• How static methods and variables are associated with a class rather than specific instances of the class.

• How the method call/return mechanism is supported by the method-call stack and activation records.

• How to use random-number generation to implement game-playing applications.

• How the visibility of declarations is limited to specific regions of applications.

• What method overloading is and how to create overloaded methods.

• What recursive methods are.

• The differences between passing method arguments by value and by reference.

Form ever follows function.

Louis Henri Sullivan

E pluribus unum. (One composed of many.)

Virgil

O! call back yesterday, bid time return. ...

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