What is new in C♯ 6?
Agenda
Roslyn
Open Source
What Roslyn Brings?
C♯ 6
Indexed Members
Auto-Properties with Initializers
Static Using Statements
Await/Async + Exceptions
Exception Filtering
Null Propagation
Nameof expressions
Expression Bodied Members
String Interpolation
Roslyn
Old
Compiler
(C++)
Roslyn
Roslyn
(Syntax Tree)
Roslyn
(Compiler API)
Open Source
https://github.com/dotnet/roslyn
Celebrated it’s 1st year of open source on the 14th April 2015
Apache 2.0 License
.NET Foundation
Builds for Linux!
C♯
What Roslyn Brings?
Easier to add new stuff to C# in
future
Building extensions becomes trivial
thus more from MS & 3rd parties
Compatible or faster build times
One compiler to rule them all!
Ability to embed C# into your app
(ala JavaScript eval)
VB?
Already Exists
Auto-properties
Exception filters
Using Static
VB Also getting
Read only auto-
properties
Null Propagation
String interpolation
NameOf
VB NOT getting*
Dictionary Initializer
Await in try/catch
Expression Bodied
members
VB Only*
NoPartial Modules
Year first date literals
Lint continuation
comments
TypeOf IsNot
*For this release – may change in future releases
Plus more for C# & VB still under review/development
Review
Roslyn
Open Source
What Roslyn Brings?
C♯ 6
Indexed Members
Auto-Properties with Initializers
Static Using Statements
Await/Async + Exceptions
Exception Filtering
Null Propagation
Nameof expressions
Expression Bodied Members
String Interpolation
Thank you 
github.com/rmaclean/sharpsharpwithcsharp6
@rmaclean | www.sadev.co.za

What is new in C# 6?