Partial Types Anonymous MethodsIterators Nullable TypesPrivate Setters (properties) Method Group Conversions (delegates)C# 3.0 Features Object and Collection InitializersAuto-Implemented PropertiesAnonymous Types Extension MethodsQuery Expressions Lambda Expressions Expression TreesC# 4.0 Features Generic Covariance and ContravarianceConclusionIntroduction
This article discusses the language features introduced in C# 2.0, 3.0, and 4.0. The purpose of writing this article is to have a single repository of all the new language features introduced over the last seven years and to illustrate (where applicable) the advantages of the new features. It is not intended to be a comprehensive discussion of each feature, for that I have links for further reading. The impetus for this article is mainly because I could not find a single repository that does what this article does. In fact, I couldn't even find a Microsoft webpage that describes them. Instead, I had to rely on the universal authority for everything, Wikipedia, which has a couple nice tables on the matter.
Read more:
CodeprojectQR:
Posted via email from Jasper-net
0 comments:
Post a Comment