7. Methods: A Deeper Look

Objectives

In this chapter you’ll:

Image See that static methods and variables are associated with classes rather than objects.

Image Use common Math class functions.

Image Learn C#’s argument promotion rules for when argument types do not match parameter types exactly.

Image Get a high-level overview of various namespaces from the .NET Framework ...

Get C# 6 for Programmers, Sixth 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.