Which version of C# to use?

By: Ram Baskar Viewed: 161 times  Printer Friendly Format    


For a beginner it is always a daunting task to decide on which version to use and which development tool to use. The table here shows clearly the available versions of C# and the corresponding Visual Studio version to use.
Summary of versions
C# 2.0 C# 3.0 C# 4.0 C# 5.0 (planned)
Features
added
  • Generics
  • Partial types
  • Anonymous methods
  • Iterators
  • Nullable types
  • Implicitly typed local variables
  • Object and collection initializers
  • Auto-Implemented properties
  • Anonymous types
  • Extension methods
  • Query expressions
  • Lambda expressions
  • Expression trees
  • Dynamic binding
  • Named and optional arguments
  • Generic co- and contravariance
  • Asynchronous methods
  • Compiler As a Service
Date November 2005 November 2007 April 2010
Visual Studio Visual Studio 2005 Visual Studio 2008 Visual Studio 2010
.NET Framewrork .NET Framework 2.0 .NET Framework 3.5 .NET Framework 4


Most Viewed Articles (in Csharp )

Latest Articles (in Csharp)

Comment on this tutorial