New CSharp Language features 3.0 and 4.0: Difference between revisions
Jump to navigation
Jump to search
(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…') |
m (moved New C to New CSharp Language features 3.0 and 4.0) |
(No difference)
|
Revision as of 12:19, 26 October 2011
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 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
- see http://www.codeproject.com/KB/cs/CSharp4Features.aspx
- see http://soumya.wordpress.com/2009/06/12/new-features-in-c-part-iii-c-4-0/
- Named and Optional Parameters
- this looks most interesting for us
- Dynamic Support
- Variance
- COM Interop
Mono and new C# features
TODO