无语。。。。写到最后突然发现事件忘了整理。。。。-_-||| 其实想不通为什么在触发事件的时候非要定义一个方法才行。。。public竟然也不行!!! 代码: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication6 { class Program { static void Main(string[] args) { A mya = new A(); mya.myevent += new A.del(new A().test1); mya.runevent(); A mya1 = new A(); mya1.myevent += A.test2; mya1.runevent(); } } class A { int a=1; int b=2; //定义委托 public delegate void del(); //定义事件 public event del myevent; //触发事件 public void runevent() { myevent(); } public void test1() { Console.WriteLine("和为"+(a+b).ToString()); } static public void test2() { Console.WriteLine("事件被触发."); } } }