Skip to content

Class Types

float: Single-precision 32-bit floating-point number

double: Double-precision 64-bit floating-point number.

bool: Represents a Boolean value, either true or false.

decimal: 128-bit decimal floating-point number, suitable for financial calculations.

string Type: Represents a sequence of Unicode characters.

object Type: The ultimate base class for all types in C#, meaning any type can be treated as an object.

int: Signed 32-bit integer.

When an object's class is not on this list, it is custom and should be self explanatory

If a variable is not specified if it is public or private, assume public.