Members

Most types can contain zero or more members of the following sorts:

Image Fields: Used to store data, typically hidden from the outside to establish abstraction and encapsulation.

Image Methods: Define operations that can be carried out on the type or instances thereof.

Image Constructors: Used to create an object instance of the containing type; in fact, constructors are special methods in disguise.

Finalizer: A type can have one finalizer method that gets ...

Get C# 5.0 Unleashed now with O’Reilly online learning.

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