#949 – What’s in Which Version of C#

Here’s a brief history of the different version of C# that have been released:

  • Version 1.0 – Jan, 2002 – .NET 1.0, Visual Studio .NET 2002
  • Version 1.2 – Apr, 2003 – .NET 1.1, Visual Studio .NET 2003
    • foreach loops automatically call Dispose if enumerator supports IDisposable
  • Version 2.0 – Nov, 2005 – .NET 2.0, Visual Studio 2005
    • Anonymous methods
    • Generics
    • Iterators
    • Method group conversions (omit explicit delegate instantiation)
    • Nullable Types
    • Partial types
    • Private property setters
  • Version 3.0 – Nov, 2007 – .NET 3.5, Visual Studio 2008
    • Anonymous types
    • Auto-Implemented properties
    • Expression trees
    • Extension methods
    • Implicitly typed variables
    • Lambda expressions
    • Object and collection initializers
    • Partial method
    • Query expressions
  • Version 4.0 – Apr, 2010 – .NET 4, Visual Studio 2010
    • Dynamic binding
    • Embedding primary interop assemblies
    • Generic covariance, contravariance
    • Named and optional arguments
  • Version 5.0 – Aug, 2012 – .NET 4.5, Visual Studio 2012
    • Asynchronous methods (async/await)
    • Caller info attributes to pass caller info to a method
Advertisements

About Sean
Software developer in the Twin Cities area, passionate about software development and sailing.

3 Responses to #949 – What’s in Which Version of C#

  1. Hi Sean!

    In C# 4 the last feature is “Named arguments and optional parameters” to be exact.
    Thanks!

  2. fredisoft says:

    Hi Sean! Nice blog.
    In C# 4 the last feature is “Named arguments and optional parameters” to be exact.

  3. Pingback: Free Programming Books In The Daily Six Pack; October 14, 2013

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: