我在哪里可以找到深入指南C#3的好?
问题描述:
看来,C#3打我没有我没有注意到的,可能你们告诉我深入导游C#3好?从lambda来的LINQ to其他一切与第三个版本的语言介绍了。
It seems that C# 3 hit me without me even noticing, could you guys tell me about good in depth guides to C# 3? from lambda to linq to everything else that was introduced with the third version of the language.
印刷书籍将是很好,但网上导游会更加美好!
Printed books would be nice, but online guides would be even better!
答
ScottGu 对C#3一些伟大的帖子:
ScottGu has some great posts on C# 3:
- 的的C#?空合并运算符(并使用它与LINQ)
- 的 LINQ to SQL的:第一部分8 (这是8部分组成的系列,检查后上方链接到第7)
- 的自动属性,对象初始化和集合初始化
- 扩展方法
- 的 Lambda表达式
- 的查询语法
- 的匿名类型
- The C# ?? null coalescing operator (and using it with LINQ)
- LINQ to SQL: Part 8 (this is an 8 part series, check the top of the post for links to the first 7)
- Automatic Properties, Object Initializers, and Collection Initializers
- Extension Methods
- Lambda Expressions
- Query Syntax
- Anonymous Types
一些有用的链接:
- MSDN: Overview of C# 3.0
- David Hayden: C# 3.0 Tutorials and Examples