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 CS0196

A pointer must be indexed by only one value

A pointer cannot have multiple indices.

The following sample generates CS0196:

public class MainClass {
   public static void Main () {
      int *i = null;
      int j = 0;
      j = i[1,2];   // CS0196
      // try the following line instead
      // j = i[1];
   }
}