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 CS0178

Incorrectly structured array initializer

An array initialization was ill formed. When specifying the array dimensions, you can specify:

The following sample generates CS0178:

class x {
   public static void Main() {
      a = new int[5][,][][5;   // CS0178, no comma or right bracket
}
}