Chapter 7. Working with Classes

In This Chapter

  • Class Members

  • Instance and Static Members

  • Use of Accessibility Modifiers

  • Fields

  • Constructors

  • Destructors

  • Methods

  • Properties

  • Indexers

  • Full XML Comments

This chapter provides information for working with classes. It also includes significant coverage of class members, where practical. The chapter looks at class members to provide an understanding of their roles and how they describe attributes and behavior and contribute to the definition of a class as a whole. Many class members have been shown in previous chapters, but this chapter goes into more detail, explaining what each member is and how to use it.

Some class members are so significant that they need their own chapters. In those cases, the concepts ...

Get C# Unleashed 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.