摘要:
今天接受了一个Tranning关于.net3.5 framework中的new feature. 其中最不明白的还是Lambda表达式。回来后又仔细的思考了一番,总算有点体会在这里写一下。既然是入门,所以所说的内容是很浅显的东西,如有错误请各位不吝指正,更详细的文章在这。以下的内容我将围绕三个话题来讲:1. 什么是Lambda表达式?2. 在什么时候用到它,它有什么优点?3. Lambda表达式的真面目是什么样的?什么是Lambda表达式C# 2.0 (which shipped with VS 2005) introduced the concept of anonymous methods 阅读全文
摘要:
Last month I started a series of posts covering some of the new VB and C# language features that are coming as part of the Visual Studio and .NET Framework "Orcas" release. Here are the first two posts in the series:Automatic Properties, Object Initializer and Collection InitializersExtens 阅读全文