Professional Documents
Culture Documents
An object-oriented program is a collection of objects sending messages to one another. The following table lists
several terms with which you should be familiar.
Term Description
Classes are the basic unit of any object-oriented language.
Object Instances are created by declaring a variable of the class type to hold a reference to an
instance (or object) of that class.
Instantiate or create a new instance of a class using the new keyword.
The behavior of the program is defined inside the body of methods.
Method
All methods must be in a class.
Methods consist of a header and zero or more statements
The fields of a class are the data members (variables) that are used to track the state of the class.
file://G:\Testout\resources\MSDevNet\CSharp\oop.htm 10/17/2010