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 CS0131

The left-hand side of an assignment must be a variable, property or indexer

An assignment requires an l-value; check your syntax.

The following sample generates CS0131:

public class MyClass {
   public int i = 0;
   public void MyMethod()   {
      i++ = 1;   // CS0131
      // try the following line instead
      // i = 1;
   }
   public static void Main() {
   }
}