Recapping C# 6.0 and A First Look Into C# 7.0

Post on 19-Feb-2017

51 views 0 download

transcript

RECAPPING C# 6 AND A FIRST LOOK INTO C#

7PRATIK KHASNABIS

@SOFTVEDA

DDD MELBOURNE

2016

C# 1.0VS 2002

C# 1.1 VS 2003

C# 2.0VS 2005

Generics

Anonymous Methods

Partial Class

Nullable Types

Iterator (yield)

Static class

C# 3.0VS 2008

Lambda Expression

LINQ

Anonymous Types

Implicit Type (var)

Extension Methods

C# 4.0VS 2010

Dynamic type

Named Arguments

Optional Parameters

Generic co/contra variance

Better COM Interop

C# 5.0VS 2012

Async & Await

Caller Information Attributes

VS 2013Bug Fixes

Performance

C# 6.0VS 2015

Auto-Property Initializer

Index Initializer

Expression bodied

methods and properties

Static Imports

Nameof Expression

Null Conditional

Operator (?.)

Await in catch / finally

String Interpolation

Exception Filter

C# 7.0VS “15”

Preview 3

Pattern Matching

Local Functions

Tuple type

Binary Literals

Digit Separator

Enhanced Partial

Ref return and Ref

local

QUESTIONS

???

?

??

?

??