Chapter 4

Methods and Scope

Key Skills & Concepts

Image   Method Syntax

Image   Method Overloads

Image   Passing Arguments by Value and by Reference

Image   Scope


As your programs increase in size, you will need to organize your instructions into routines called methods. Methods group instructions that are related by their function. Methods also enable code reuse and ...

Get C#: A Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.