读书人

带返回值的匿名方法如何定义?

发布时间: 2012-02-27 10:00:22 作者: rapoo

带返回值的匿名方法怎么定义??
delegate int chl(int x);

chl y= int delegate(int y){/*.......*/};

还是

chl y= delegate int(int y){/*.......*/};

还是其他



[解决办法]
chl y= delegate int(int y){/*.......*/};

读书人网 >C#

热点推荐