开发者

What is the difference between C# versions like ver 2.0 and ver 3.0? [duplicate]

This question already has answers here: Closed 12 years ago.

Possible Duplicates:

What are the correct version numbers for C#?

List of new features in C# 2.0, 3.0 and 4.0

What is the differen开发者_StackOverflow中文版ce between C# versions like ver 2.0 and ver 3.0?

Please help me explain in detail. What are the exact differences?


From Jon Skeet's book C# in Depth, the web page is here for detail.

C# 2, introducing generics, nullable types, anonymous methods, iterator blocks and some other more minor features

C# 3, introducing implicit typing, object and collection initializers, anonymous types, automatic properties, lambda expressions, extension methods, query expressions and some other minor features


Many new features support the introduction of LINQ (they can be used in many different contexts, but they are very useful in the context of LINQ).

I strongly suggest you read Jon Skeet's C# in Depth for a detailed explanation of each new feature.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜