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 CS0017

Program 'output file name' has more than one entry point defined: function

A program can only have one Main method.

The following sample generates CS0017:

public class clx {
   static public void Main() {
   }
}
public class cly {
   public static void Main() {   // CS0017, delete one Main method
   }
}