static void Main() { Type p=this.GetType(); MethodInfo m=p.GetMethod("方法名"); m.Invkoe(this,null) } }