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 CS0500

'class member' cannot declare a body because it is marked abstract

An abstract class cannot contain a method with an implementation.

For example, the following sample generates CS0500:

namespace x 
{
   abstract public class clx 
   {
      abstract public void f(){}   // CS0500
      // try the following line instead
      // abstract public void f(); 
   } 
   public class cly 
   {
      public static int Main()
      {
         return 0;
      }
   } 
}