The out variables example for C# 7 is misleading. You don't need the<p><pre><code> int quantity;
</code></pre>
declaration. Leaving it in there defeats the purpose of the example which is meant to show that the declaration is not necessary :-)
A more complete list of new features (and with better examples) is available at [0].<p>That being said, I think this post highlights some of more beneficial features. Most of the others (maybe with the exception of type pattern matching) will likely lead, I fear, to less decipherable code.<p>[0] <a href="https://blogs.msdn.microsoft.com/dotnet/2017/03/09/new-features-in-c-7-0/" rel="nofollow">https://blogs.msdn.microsoft.com/dotnet/2017/03/09/new-featu...</a>
As part of the Visual Studio 2017 launch event Mads (C# PM) also recorded a video for those folks who prefer watching, check it out here: <a href="https://channel9.msdn.com/Events/Visual-Studio/Visual-Studio-2017-Launch/?sort=status&direction=desc&tag=csharp" rel="nofollow">https://channel9.msdn.com/Events/Visual-Studio/Visual-Studio...</a>