TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

C# 7 Features Worth Knowing

40 pointsby sconxuabout 8 years ago

3 comments

drblastabout 8 years ago
The out variables example for C# 7 is misleading. You don&#x27;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 :-)
评论 #13865297 未加载
评论 #13865259 未加载
hermitdevabout 8 years ago
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:&#x2F;&#x2F;blogs.msdn.microsoft.com&#x2F;dotnet&#x2F;2017&#x2F;03&#x2F;09&#x2F;new-features-in-c-7-0&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blogs.msdn.microsoft.com&#x2F;dotnet&#x2F;2017&#x2F;03&#x2F;09&#x2F;new-featu...</a>
评论 #13866119 未加载
LyalinDotComabout 8 years ago
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:&#x2F;&#x2F;channel9.msdn.com&#x2F;Events&#x2F;Visual-Studio&#x2F;Visual-Studio-2017-Launch&#x2F;?sort=status&amp;direction=desc&amp;tag=csharp" rel="nofollow">https:&#x2F;&#x2F;channel9.msdn.com&#x2F;Events&#x2F;Visual-Studio&#x2F;Visual-Studio...</a>