15 lines
312 B
C#
Raw Normal View History

// CS0065: `EventClass.handler': event property must have both add and remove accessors
// Line : 9
using System;
public delegate void EventHandler (object sender, EventArgs e);
public class EventClass {
event EventHandler handler { add; }
}
public class MainClass {
public static void Main () {}
}