New CSharp Language features 3.0 and 4.0

From OpenPetra Wiki
Revision as of 11:57, 26 October 2011 by Pokorra (talk | contribs) (Created page with '== New features == === C# 3.0 === * see http://www.codeproject.com/KB/cs/csharp3.aspx * see http://soumya.wordpress.com/2009/06/12/new-features-in-c-part-ii-c-3-0/ * Automatic P…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

New features

C# 3.0

  • Automatic Properties
    • used already in the web server for conference backend. saves writing dumb code
  • Object Initializer
    • used by ext.net which is used by the web server for conference backend.
  • Collection Initializers, Dictionary Initializers
  • Extension Methods
  • LINQ
  • Anonymous Types and Implicit Type Variables
  • Lambda Expressions
  • Partial Methods

C# 4.0

  • Named and Optional Parameters
    • this looks most interesting for us
  • Dynamic Support
  • Variance
  • COM Interop

Mono and new C# features

TODO