public delegate void Test(int x, object y);
public event Test TestEvent;
public void StartTest(int x)
Console.WriteLine("A.StartTest " + x.ToString());
Console.WriteLine("null TestEvent");
public static void Main()
a.TestEvent -= (x, y) => a.StartTest(x);
public static void Ex(A a)
a.TestEvent += (x, y) => a.StartTest(x);