既然是代理,就要按delegate的方式定义代理和变量啊

解决方案 »

  1.   

    结贴给分吧,注意把分都给哥啊。var s = () => this.Output= sbyte.Parse(this.Input);Func<sbyte, object> s = (input) => sbyte.Parse(input);
      

  2.   

    var s=new func<object, sbyte>(sbyte.Parse);
      

  3.   

    http://msdn.microsoft.com/zh-cn/library/system.eventhandler.aspx
      

  4.   

    // this.Invoke(new Action<int>((total) =>
                            //{
                            //   total++;
                            //}));
    用委托吧  这个是我的程序里的 把线程去掉就好  参数可以自己传