首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > C# >

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

2012-02-27 
带返回值的匿名方法怎么定义??delegateintchl(intx)chlyintdelegate(inty){/*.......*/}还是chlydeleg

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

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

还是

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

还是其他



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

热点排行