Saturday, August 28, 2010

C# history

Since the C# language was introduced, it has been evolving. The other day, I was thinking how different it has become, so to make it more accurate, I downloaded the specification files from microsoft website and other resources. Here is a short list of the changes after C# 2.0 was introduced:


New features added to C# 2.0

  • Generics
  • Anonymous methods
  • Iterators
  • Partial types
  • Nullable types

New features added to C# 3.0

  • Implicitly typed local variables
  • Lambda expressions
  • Object and collection initializers
  • Anonymous types
  • Implicitly typed arrays
  • Query expressions
  • Expression trees

New features added to C# 4.0

  • Dynamic binding
  • Named and optional arguments
  • COM interoperability
  • Covariance and Contravariance

I don't think the list is complete. So if you think there is something wrong or you could add an item to it, let me know.

No comments:

Post a Comment