CS DotNet Freamwork

It is the core of .NET infrastructure because it exists as a layer between the .NET applications and the underlying operating systems .The .NET framework encapsulates much of the basic functionality, such as debugging and security services , which was earlier built in various programming languages, in the form of collection of services and classes.

Whereas,

CTS (Common Type System) standardizes data types of al l programming languages using .NET under the umbrella of .NET to a common data type for easy and smooth communication among these .NET languages.

It converts the data type to a common data type, for example, when we declare an int type data type in C# and VB.Net then they are converted to int32 (Convert.ToInt 32) .

In other words, will have a common data type that provides flexible communication between these two languages.

 

 

 

 

C# 1.0 features: This version was introduced in year Jan 2002.

  • Mordern
  • Object oriented
  • Type Safe Programming Language

 

C# 2.0 features: This version was introduced in year Nov 2005.

  • Generics
  • Partial classes
  • Anonymous Type
  • Iterators
  • Nullable Types
  • Static Class
  • Delegates Interface

 

C# 3.0 features: This version was introduced in year Nov 2007.

  • Implicit typed Local Variables
  • Extension Methods
  • Auto implemented properties
  • Anonymous types
  • Lambda expressions
  • Expression tree
  • Partial methods

 

C# 4.0 features: This version was introduced in year April 2010.

  • Dynamic type
  • Named and optional arguments
  • Generic covariant and contravariant
  • Type Equivalence and Embedded Interop Types

 

C# 5.0 features: This version was introduced in year August 2012.

  • Asynchronous methods
  • Caller information attributes

 

 

C# 6.0 features: This version was introduced in year July 2015.

  • Expression bodied methods
  • Conditional access operator
  • Primary constructor
  • Await in catch block
  • Exception filters
  • String interpolation

C# 7.0 features: This version was introduced in year March 2017.

  • Local Functions or Nested Functions
  • Binary Literals
  • Digit Separators
  • Pattern matching
  • ref returns and ref Locals
  • Tuples (Tuples Enhancement)
  • Throw Expressions
  • Expression Bodied Members (methods, properties, constructors, destructors, getters, setters, indexers, operators, Main method)