Accueil >  Term: value type
value type

A data type that is represented by the type's actual value. If a value type is assigned to a variable, that variable is given a fresh copy of the value. (This is in contrast to a reference type, where assignment does not create a copy.) Value types are usually created on a method's stack frame, rather than in the garbage-collected heap. A value type can be boxed, which is a process that creates a corresponding reference type.

0 0

Créateur

  • Maxiao
  •  (V.I.P) 19232 points
  • 100% positive feedback
© 2025 CSOFT International, Ltd.