New things in C# 6.0 Senthil Kumar B Microsoft MVP – Windows Platform Development MobileOSGeek.com
New things in C# 6.0
Senthil Kumar B
Microsoft MVP – Windows Platform Development
MobileOSGeek.com
About Me
• Work for Trivium eSolutions , Bangalore
• Microsoft MVP in Windows Platform Development.
• Speaker , Blogger and Software Engineer
• BDotNetter
• Blog about Mobile development at MobileOSGeek.com
• Twitter : @isenthil
C# 1.0 to 5.0
• C# 1.0 – Announced in 2002
• C# 2.0 – 2005
• Generics
• C# 3.0 – 2007
• LINQ and Lambda Expression
• C# 4.0 - 2010
• dynamic
• C# 5.0 - 2012
• Asynchronous programming
C# 6.0 and features
• Auto Property Initializers
• Expression Bodied Function Members
• Static
• Null Conditional Operator
• String Interpolation
• NameOf Expression
• Dictionary Initializers
• Exception filters
• Await in catch and Finally
• and more …
Auto Property Initializer
Read Only Auto properties
Expression bodies on method-like members
Expression bodies on property-like function members
Static class in using clause
Null-conditional operator
String Interpolation
NameOf Expression
Dictionary Initializers
Exception filters
How to try C# 6.0 ?
Download and install Visual Studio 2015 Preview
http://www.visualstudio.com/en-us/downloads/visual-studio-2015-downloads-vs
Note : Visual Studio 2015 is currently in preview and install and try it on a VM or system that is available for reformatting later. The preview release is not intended for use on production computers.
Q&A