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 books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.