2 ms·
Value types are stack allocated types (unless they are a member of a reference type). You might be referring to stack-only value types, which are prevented from
by zamalek 8y ago
Value types are stack allocated types (unless they are a member of a reference type). You might be referring to stack-only value types, which are prevented from being copied to the heap.
- pjmlp 8y agoI am referring to array values. Up to 7.3 you could only stack allocate arrays (alloca() style) inside unsafe code blocks. Starting with 7.3 you can safely stack allocate array of value types.