This is a mirror of official site: http://jasper-net.blogspot.com/

C# Language Features, From C# 2.0 to 4.0

| Wednesday, February 15, 2012
  • Partial Types
  • Anonymous Methods
  • Iterators
  • Nullable Types
  • Private Setters (properties)
  • Method Group Conversions (delegates)
  • C# 3.0 Features
  • Object and Collection Initializers
  • Auto-Implemented Properties
  • Anonymous Types
  • Extension Methods
  • Query Expressions
  • Lambda Expressions
  • Expression Trees
  • C# 4.0 Features
  • Generic Covariance and Contravariance
  • Conclusion
  • Introduction

    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: Codeproject
    QR: C-Language-Features-From-C-2-0-to-4-0

    Posted via email from Jasper-net

    0 comments: