value type

A type whose variables hold the data itself, so assigning one to another copies the whole value.

In more detail

Numbers, bool, char, DateTime, enums and structs are value types. A method that receives one gets its own copy and cannot change the caller's.

Related terms

Taught in

References