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 CS1520

Class, struct, or interface method must have a return type

A method that is declared in a class, struct, or interface must have an explicit return type.

The following sample generates CS1520:

public class x {
   f7(){}            // CS1520, needs return type
   // try the following definition
   /*
   void f7(){
   }
   */
   public static void Main() {
   }
}