The C# team posts answers to common questions and describes new language features
As announced today by Soma, we've just released the first CTP (Community Technology Preview) of the next version of Visual Studio. This is doubly-exciting as this is the first public release of a version of Visual Studio powered by "Roslyn" by default. At BUILD we released the "Roslyn" End User Preview which extends Visual Studio 2013 by replacing some components with their "Roslyn" equivalents but this version of Visual Studio is built from the ground up on "Roslyn" with "Roslyn".
The Visual Studio "14" CTP includes new and improved language and IDE features for C# such as a revamped refactoring experience (including new refactorings):
And the highly requested conditional access (?.) operator*:
*Because this is an experimental language feature, to enable it in a project you must add this element to your .csproj file to enable the "Experimental" language version:
These are just some of the small but powerful enhancements we're building for C# developers and we're far from done. But that's no reason for you to wait. Since we've literally rebuilt the very foundations of C# it couldn't be more critical for us to get your feedback early and often on what you like, don't like, love, and what you want to see more of.
Stay tuned for more posts from the Managed Languages team highlighting new and improved language features and experiences. In the meantime…
And one more thing: Visual Studio side-by-side support is not available on this early build. DO NOT install this CTP (or feed it after midnight) on a machine with any other version of Visual Studio installed.
Anthony D. Green, Program Manager, Visual Basic and C# Languages Team
On the start page, the link "Learn about new features in Professional 14 CTP" takes me to "What's New in Visual Studio 2013".
this refactoring is very old in java's ide
I downloaded VS 2014 CTP, included "experimental", but no new features work - neither conditional access operator, nor base constructor. What should I do to enable them?
The conditional access is cool! It saves a lot of work..
Thank you for the conditional access but I think that ?. doesn't look so great even though it kinda make sense.
Is it possible to use the new Language Features in a ASP.NET vNext Web Project (.kproj) ?
We need T4! Invested a lot in this technology and it's much easier then Roslyn. Why not keep Roslyn and T4 side by side?
Option Strict On
Dim intDistance As Integer
intDistance = 17.5