Chapter 6. More About Classes

Class Members

The previous two chapters covered two of the nine types of class members: fields and methods. In this chapter, I will introduce more types of class members, and discuss the lifetimes of class members.

Table 6-1 shows a list of the class member types. Those that have already been introduced are marked with diamonds. Those that will be covered in this chapter are marked with a check. Those that will be covered later in the text are marked with empty check boxes.

Table 6-1. Types of Class Members

Data Members (Store Data)

Function Members (Execute Code)

Types of Class Members

Order of Member Modifiers

Previously, you saw that the ...

Get Illustrated C# 2008 now with O’Reilly online learning.

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