public static void Test() { FunEventHandler funEvent = new FunEventHandler(Func1); funEvent += new FunEventHandler(Func2); funEvent(3, 4); Console.ReadLine(); }
//private static FunEventHandler funEvent; #endregion public static void Test() { FunEventHandler funEvent = new FunEventHandler(Method1); //funEvent += Method1; funEvent += Method2; funEvent(3, 4); dic[1](1, 2); Console.ReadLine(); }