Static Array Types On the Win32 platform, a static array is stored as a contiguous sequence of variables of the component type of the
array. The components with the lowest indexes are stored at the lowest memory addresses. A multidimensional
array is stored with the rightmost dimension increasing first.
On the .NET platform, static are implemented using the System.Array type. Memory layout is therefore determined
by the System.Array type.
Dynamic Array Types On the Win32 platform, a dynamic-array variable occupies four bytes of memory which contain a pointer to the
dynamically allocated array. When the variable is empty (uninitialized) or holds a zero-length array, the pointer is nil
and no dynamic memory is associated with the variable. For a nonempty array, the variable points to a dynamically
allocated block of memory that contains the array in addition to a 32-bit length indicator and a 32-bit reference count.
The table below shows the layout of a dynamic-array memory block.