January 25, 2021
Hot Topics:

C# 7.0 Will Offer Tuples and Pattern Matching

  • By Developer.com Staff

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

This article was originally published on August 26, 2016

Enterprise Development Update

Don't miss an article. Subscribe to our newsletter below.

Thanks for your registration, follow us on our social networks to keep up-to-date