value type

"Value type" refers to a data type in programming where the variable holds the actual data directly, as opposed to a reference or pointer.

πŸ‡ΊπŸ‡Έ US Voice:
πŸ‡¬πŸ‡§ UK Voice:

Definition

C1Computer Programming

(technical)A data type that stores the actual value directly within its own memory space, not as a reference to another memory location.

Example

  • In C#, int is a value type because it holds the actual numeric value.
  • Structures in many programming languages are often considered value types.

Similar

Terms that have similar or relatively close meanings to "value type":

use valuetext type