C
Chris Ashley
Probably some very basic questions...
I understand system.array is a reference type, is this the case if the
array is made up of value types? Or are they stored differently on the
managed heap?
Is there any way to explicitly deallocate memory for an array of value
types, or do I have to wait for a garbage collection cycle?
I am working with byte arrays, would there be any speed advantage to
using AllocHGlobal and using unsafe pointers as opposed to byte
arrays?
Thanks,
Chris
I understand system.array is a reference type, is this the case if the
array is made up of value types? Or are they stored differently on the
managed heap?
Is there any way to explicitly deallocate memory for an array of value
types, or do I have to wait for a garbage collection cycle?
I am working with byte arrays, would there be any speed advantage to
using AllocHGlobal and using unsafe pointers as opposed to byte
arrays?
Thanks,
Chris