Concepts in C# 3.0
When a person moves from C# 2.0 C# 3.0 ,what are the concep开发者_高级运维ts does he need to learn?
like extension method,lambda expression,Linq.
They're all listed here:
- Overview of C# 3.0
Yes that's a good start. You can also go over any kind of "what's new in C# 3.0" page, like this one from MSDN.
I can recommend that you have a look at C# in depth by Jon Skeet too. Very good book. :-)
You could look at this stack overflow question. It is not C# 3.0 specific, but contains a fair number of features which are very useful, and not known to all programmers.
There are a number of now widely used features of C# 3 that one "should" learn. That said, what you learned while using C# 2 will be just as applicable under C# 3.
The more common C# 3 features that one might encounter when reviewing other's code, wish to understand and ultimately adopt are:
- Automatically Implemented Properties
- Lambda Expressions
- Linq
- Object Initializers
精彩评论