摘要: Lambda表达式的演化要了解Lambda表达式,我们首先应从委托说起。.NET中的委托实际上就是C语言中的函数指针,函数通过地址进行引用,只不过.NET中它更加好看了而已。delegate void FunctionPoint(string str); static void printHello(string name){ Console.WriteLine("Hello {0}", name);} static void Main(string[] args){ FunctionPoint fp = printHello; fp("heqichang&quo 阅读全文
posted @ 2011-06-28 14:15 heqichang 阅读(465) 评论(0) 推荐(0) 编辑