'event' : event property must have both get and set accessors
An event property must have both access methods.
The following sample generates CS0065:
using System; public delegate void Eventhandler(object sender, int e); public class MyClass { public event EventHandler Click { // CS0065, no set get { return null; } // uncomment this set definition /* set { } */ } public static void Main() { } }