C# ๐Ÿ‘‰๐Ÿป History and its versions (PART -I)

C# was created by Andres Hejisberg. He was C#โ€™s principal designer and lead architect at Microsoft and was previously involved with the design of turbo Pscal, Borland. He stated the flaws in most major programming languages drove the design of C# language.

Versions of the language : 1.0, 1.2, 1.3,2.0,3.0,4.0,5.0,6.0,7.0,8.0,9.0,10.0,11.0,12.0

New Features of C# 2.0

  • Generics

  • Partial types

  • Anonymous methods

  • Iterators

  • Nullable value types

  • Getter/Setter separate accessibility

  • Static classes

  • Delegate inference

  • Null coalescing operator

New Features of 3.0

  • Implicitly typed local variables

  • Object initializers

  • Collection initializers

  • Auto-implemented properties

  • Anonymous types

  • Extension methods

  • Query expressions

  • Lambda expressions

  • Expression trees

  • Partial methods

New Features in C# 4.0

  • Dynamic binding

  • Named and optional arguments

  • Generic covariance and contravariance

  • Embedded interop types

New Features in C# 5.0

  • Asynchronous methods

  • Caller info attributes

  • Compiler API

New features in C# 6.0

  • Static Imports

  • Exception Filters

  • Auto-property initializers

  • Default values of getter-only properties

  • Expression-bodied members

  • Null propagator

  • String interpolation

  • nameof operatora

  • Index intilizers

  • Await in catch/finally blocks

7
Subscribe to my newsletter

Read articles from Narendra Jalamkar directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Narendra Jalamkar
Narendra Jalamkar

I am a software developer. Exploring tech world. I just post my thoughts about tech and anythings which i m curious about.