Reference types, Value types, and Patterns - slide 8 : 29 |
A variable of value type contains its value
The values are allocated on the method stack or within objects on the heap
Variables of value types are dealt with by use of so-called value semantics
Use of value types simplifies the management of short-lived data