There are 9 types of class members. They can be divided into 2 groups: data members (store data) and function members (execute code).
- Fields – Data
- Constants – Data
- Methods – Function
- Properties – Function
- Constructors – Function
- Destructors – Function
- Operators – Function
- Indexers – Function
- Events – Function
More About Classes
We have this series of posts on classes and we also have more about classes in a series that is “intermediate” and starts with the post called C# Classes Intermediate.
We have a post on constructors that is in the Inheritance series that is called C# Constructors and Inheritance. It is not in this series because you will first need to understand inheritance.