日期:2014-05-18 浏览次数:21596 次
static void Main(string[] args)
{
del myDelegate = x => x * x;//这里编译会提示>是无效的表达式项哇
int j = myDelegate(5); //j = 25
Console.WriteLine(j.ToString());
Console.ReadKey();
}
delegate int del(int i);