'date type' : invalid type for managed array element
A managed array can include managed types and native types, but some types are not allowed, such as pointers to unmanaged types.
The following sample generates C2691:
#using <mscorlib.dll> void main() { int * a1[] = new __gc int * [20]; // C2691 // try the code below to resolve the error // int * a1 = new int [20]; }