The heap

Reference types access areas of memory in the heap.

The stack

Value types save their values in memory in the stack.

Advertisements