C# 7.0 Will Offer Tuples and Pattern Matching

Friday Aug 26th 2016 by Developer.com Staff
Share:

The object-oriented language for the .NET framework is getting faster and simpler.

Microsoft has outlined the key features that will be included in the next version of its C# programming language, which will be known as C# 7.0. "Perhaps the biggest features are tuples, which make it easy to have multiple results, and pattern matching, which simplifies code that is conditional on the shape of data," said Mads Torgersen, Microsoft program manager for C#.

Other changes include the ability to use underscores as digit separators in number literals, the introduction of binary literals and the ability to add expression bodies to accessors, constructors and finalizers.

Developers can try out some of these new features for C# by downloading Visual Studio 15 Preview 4, which debuted this week.

View article

Share:
Home
Mobile Site | Full Site
Copyright 2017 © QuinStreet Inc. All Rights Reserved