Object-oriented languages provide abstraction via classes. Classes define the properties and methods of an object type.
Examples:
- You can create an abstraction of a dog with characteristics, such as color, height, and weight, and actions such as run and bite. The characteristics are called properties, and the actions are called methods.
- A Recordset object is an abstract representation of a set of data.
Objects are instance of classes.
C# Example of Class:
public class Draw
{// Class code.}