Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Official release C# 7.0 #237

Closed
GerjanOnline opened this issue Mar 8, 2017 · 15 comments
Closed

Official release C# 7.0 #237

GerjanOnline opened this issue Mar 8, 2017 · 15 comments

Comments

@GerjanOnline
Copy link

I am a bit confused, Is C# 7.0 officially released or not? Is it shipped together with Visual Studio 2017?

Only this post mentions:

New versions of the .NET Languages are included in Visual Studio. You can now use C# 7, Visual Basic 15 and F# 4.1. C# 7 is already supported with .NET Core (just by using the latest Roslyn!).

But that links to a post of August 2016. I would expect some more ceremony around it and an official blog post, right?

PS: I am not sure this is the right repo, sorry if this is the case

@GerjanOnline
Copy link
Author

I have found: https://github.com/dotnet/roslyn/blob/master/docs/Language%20Feature%20Status.md#c-70-and-vb-15

All have state "Finishing", so it will be released soon?

@DavidArno
Copy link

DavidArno commented Mar 8, 2017

I think that @MadsTorgersen and the team have been up to their eyeballs in preparing for the VS2017 release and in publicising what's new in C# 7. And this repo was created in a hurry after a lot of pushback from the community over their email list plans. Lastly, they all likely now need a bit of a break.

So I'm guessing that we should see more team involvement here shortly, such as updates to this and the Roslyn repo, along with more engagement from them, in a week or two.

But C# 7 is definitely released in VS2017. And aside from x is T y scope leakage, it's pretty damned awesome 😉

@dcmeglio
Copy link

dcmeglio commented Mar 8, 2017

The VS2017 release notes at https://www.visualstudio.com/en-us/news/releasenotes/vs2017-relnotes state:

C# and Visual Basic - Extends support for new C# 7.0 and Visual Basic 15 language features, and introduces new refactorings that allow you to organize source code with one action.

@GerjanOnline
Copy link
Author

@mpawelski
Copy link

mpawelski commented Mar 8, 2017

Yep, seems that there is no nice blog/msdn page describing current state on new features. For example the link @GerjanOnline gave has reference to old patternMatching roslyn page without mentioning that wildcard character changed to _ from *

EDIT: this page looks good but is also not based on Visual Studio 2017 RTM

@GerjanOnline
Copy link
Author

GerjanOnline commented Mar 8, 2017

Nice discovery @mpawelski

But like you said, I still expect a blog post that can be upvoted (or downvoted 😉) on Hackernews / Reddit 😈

@gafter
Copy link
Member

gafter commented Mar 9, 2017

@MgSam
Copy link

MgSam commented Mar 9, 2017

@gafter Talk about understated announcements!

@Sebazzz
Copy link

Sebazzz commented Mar 9, 2017

It appears the Microsoft.Net.Compilers and Microsoft.CodeDom.Providers.DotNetCompilerPlatform packages need to be updated as well to support the new C# features.

@MgSam
Copy link

MgSam commented Mar 9, 2017

Good point. I thought ValueTuple was moving into the BCL so that you didn't need to go get a NuGet package just to start writing C#. Seems a pretty lousy state to be in for the RTM.

@dcmeglio
Copy link

dcmeglio commented Mar 9, 2017

@MgSam
It will be but according to dotnet/roslyn#13177 it will "ship in the first version after 4.7" which seems like a long time to wait... I'm sure they have their reasons, but I'd love to know why that is a good decision.

@GerjanOnline
Copy link
Author

For completeness, here are the videos related to C# 7:

New Features in C# 7.0, by @MadsTorgersen
https://channel9.msdn.com/Events/Visual-Studio/Visual-Studio-2017-Launch/T130

.NET Productivity Improvements, by @kuhlenh
https://channel9.msdn.com/Events/Visual-Studio/Visual-Studio-2017-Launch/T102

Exploring C# Productivity in Visual Studio 2017, by @MadsTorgersen and @kuhlenh
https://channel9.msdn.com/Events/Visual-Studio/Visual-Studio-2017-Launch/140

@GerjanOnline
Copy link
Author

@BillWagner
Copy link
Member

There's also this on the .NET documentation set:

https://docs.microsoft.com/en-us/dotnet/articles/csharp/csharp-7

@GerjanOnline
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants