value type
A type whose variables hold the data itself, copied on assignment.
A value type (built-in numeric types, bool, char, structs, enums, tuples) stores its data directly; assignment and argument passing copy the value.
Loading interactive…
Examples
int,double,bool,DateTimeand every struct are value types:int b = a;copies the number itself.
See also