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 CS0067

The event 'event' is never used

An event was declared but never used in the class in which it was declared.

The following sample generates CS0067:

using System;
delegate void MyDelegate();

class MyClass {
   public event MyDelegate evt;   // CS0067
   // uncomment TestMethod to resolve this CS0067
/*
   private void TestMethod() {
      if (evt != null)
         evt();
   }
*/
   public static void Main() {
   }
}