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 CS0575

Only class types can contain destructors

A struct cannot contain a destructor.

The following sample generates CS0575:

namespace x
{
   public struct iii
   {
      ~iii()   // CS0575
      {
      }
      public static void Main()
      {
      }
   }
}