Class Members

The term class member refers to members that are declared within the class. It also includes the members that are inherited from the direct base class.

Class members can be categorized as follows:

  • Constants

  • Fields

  • Methods

  • Properties

  • Events

  • Indexers

  • Operators

  • Instance constructors

  • Destructors

  • Static constructors

  • Types

Properties, indexers, operators, and types require a more elaborate explanation and are discussed in other chapters.

→ For a detailed explanation of properties, seeProperties,” p. 252

→ For a detailed explanation of indexers, seeIndexers,” p. 258

→ For a detailed explanation of types, seeTypes,” p. 79

→ For a detailed explanation of operators, seeOperators and Operands,” p. 100

→ For a detailed explanation of events, ...

Get Special Edition Using C# 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.