NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Error C3262

invalid array indexing: '#' dimension(s) specified for '#'-dimensional 'array type'

An array was improperly subscripted: the number of indices does not match the number of dimensions in the array.

The following sample generates C3262:

#using <mscorlib.dll>
void main() {
int iArr __gc[,] = new int __gc[10,20];
iArr[1,2,3]; // error: 3 dimensions specified for 2-dimensional array
}