Class
Is the most common reference type.
class MyClassName { //methods, properties, fields, events, delegates, nested classes }
Complex class has:
- Preceding the keyword class
Attributes and modifiers such as Non-nested class modifiers
- Following MyClassName
- Generic type parameters
- base class
- interfaces
- Within the braces
Class members
- methods
- properties
- indexers
- events
- fields
- constructors
- overloaded operators
- nested types
- finalizer