a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
26 lines
334 B
C#
26 lines
334 B
C#
// CS0066: `Button.Click': event must be of a delegate type
|
|
// Line : 10
|
|
|
|
using System;
|
|
|
|
public delegate void EventHandler (object sender, EventArgs e);
|
|
|
|
public class Button {
|
|
|
|
public event Blah Click;
|
|
|
|
public void Reset ()
|
|
{
|
|
Click = null;
|
|
}
|
|
}
|
|
|
|
public class Blah {
|
|
|
|
public static void Main ()
|
|
{
|
|
Blah b = new Blah ();
|
|
}
|
|
|
|
}
|