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 CS0574

Name of destructor must match name of class

The name of a destructor must be the class name preceded by a tilde (~).

The following sample generates CS0574:

namespace x
{
   public class iii
   {
      ~iiii()   // CS0574
      {
      }
      public static void Main()
      {
      }
   }
}