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 CS0022

Wrong number of indices inside [], expected 'number'

An array-access operation specified multiple indices where only one is allowed.

The following sample generates CS0022:

public class MyClass {
   public static void Main() {
      int[] a;
      a[0] = 0;    // single-dimension array
      a[0,1] = 9;  // CS0022
   }
}