Saturday, November 3, 2012

Starting a blog Series on C# 2.0 to 5.0

During next few days i will be talking about the below given features of C Sharp

Code is available on codeplex on this URL

http://csharp2andabove.codeplex.com/

C# 2.0

  • Partial class
  • Partial methods
  • Generics
  • Nullable types
  • yield keyword
  • anonymous methods (the delegate keyword)
  • null coalescing operator (??)

C# 3.0
  • Auto Implemented properties
  • Lambada
  • object initializes Collection initializes
  • Anonymous Types
  • Var
  • Extension Methods
  • LINQ

C# 4.0
  • Dynamic word
  • Covariant and contravariant generic type parameters
  • Optional Parameters and Named Arguments
  • Tuples
  • Task Parallel Library


C# 5.0
  • Async
  • Await

Generics
  •  Advance Generics 1 {Classes , Func}
  • Advance Generics 2 {Action , Predicate}