一个很简单的通过委托调用方法
using System; namespace ConsoleApplication1 { public class DelegateTest { public delegate void MyDelegate(int a, int b); private void Add(int a, int b) { Console.WriteLine("a + b = " + (a + b).ToString()); } static void Main(string[] args) { DelegateTest test = new DelegateTest(); MyDelegate myDelegate = new MyDelegate(test.Add); myDelegate(2, 3); } } }