My friends, my life, my style - James S.F. Hsieh

4/08/2009

舊聞新知 Overview of C# 2.0 3.0 4.0

C# 真的進步太快了, 太多東西我已經不知道了 >< 慚愧...


Features of C# 2.0

  1. Generics
  2. Iterators
  3. Partial Classes
  4. Nullable Types
  5. Null-Coalesce operator
  6. Anonymous Methods
  7. Namespace alias qualifier
  8. Static Classes
  9. External Assembly Alias
  10. Property Accessor Accessibility
  11. Covariance and Contravariance in Delegates

Features of C# 3.0 (2007)

  1. LINQ
  2. Implicitly Typed Local Variables
  3. Extension Methods
  4. Lambda Expressions
  5. Object Initializers
  6. Anonymous Types
  7. Query Expressions
  8. Expression Trees
  9. Automatically Implemented Properties

Features of C# 4.0 (2008)

  1. Dynamic member lookup
  2. Covariant and contravariant generic type parameters
  3. COM related features

C Sharp (programming language), What's New in the C# 2.0 Language and Compiler, Overview of C# 3.0