7. Methods: A Deeper Look

Form ever follows function.

Louis Henri Sullivan

E pluribus unum. (One composed of many.)


O! call back yesterday, bid time return.

William Shakespeare

Call me Ishmael.

Herman Melville

When you call me that, smile!

Owen Wister

Answer me in one word.

William Shakespeare

There is a point at which methods devour themselves.

Frantz Fanon

Life can only be understood backwards; but it must be lived forwards.

Soren Kierkegaard


In this chapter you will learn:

• How static methods and variables are associated with an entire 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 ...

Get C# for Programmers, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.