As per
http://www.developer.com/net/net/art.../1756291#Value
%20types
Heap-An area of memory reserved for use by the CLR for a
running programming. In .NET languages, reference types
are allocated on the heap.
Reference types-A variable that stores a reference to
data located elsewhere in memory rather than to the
actual data itself. Reference types include array, class,
delegate, and interface
So I guess array will be stored on the heap
HTH
++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++
The posting is provided on an "as is" basis without
warranties of any kind either expressed or implied.
-----Original Message-----
gc class a
{
int a __nogc[34]; is this but on the stack or the heap?
};
.