Short Videos Demonstrating What’s New in Visual Studio 2015 Preview for C#, VB, and F#

Our team has put together a set of short videos to highlight some of our work in Visual Studio 2015 Preview. Check them out to learn more about what’s new in C# and VB, how F# can be good for enterprise, and how to improve your code quality with “analyzers”. To learn more about our team’s work in Visual Studio 2015 Preview, check out our overview post.

C# 6.0 adds about a dozen bite-sized new features to C#, all aimed at making your code cleaner and clearer. Instead of introducing new concepts, each feature makes a common coding pattern simpler, and removes boilerplate code to let the intent of the code stand out. The video takes a quick tour through the new features: auto-properties without setters, methods and properties with expression bodies, member access that protects against null, interpolated strings and much more.

VB14 has a host of improvements across the board. In the IDE, it now includes refactoring, the ability to organize imports, better cref support, and more. Visual Basic 14 projects show metadata as source, display the References node in the Solution Explorer, support Shared Projects, and compile 50% faster. The Visual Basic language has improvements in existing features like comments within LINQ, read-only auto-properties, and multi-line string literals. It also adds new features like NameOf, member access that protects against NullReferenceException, and string interpolation. This video is a quick tour of the highlights.

Have you looked at F# for your projects recently? F# is a mature .NET language that’s functional-first, cross-platform, open source, and enterprise-ready. You can find the beginnings of Visual F# 4.0, the next F# language and tools version, in Visual Studio 2015 Preview. If you’re curious about F# and want to learn more, take a few minutes to watch this video. We’ll cover some of the unique benefits F# has to offer, walk through a bit of F# WPF code, and leave you with some pointers to great F# resources on the web.

Live Code Analyzers are used to add custom error messages and warnings that appear live as you’re typing, along with automatic code fixes to help you clean them up. They are available as NuGet packages that you add to your projects in Visual Studio 2015. In this video, you’ll see how the FxCop analyzer package now helps you improve your code even before you build. You’ll also see the Azure Code Analysis package, which teaches you best practices for building Azure apps by spotting bugs the moment you introduce them.