In Visual Studio 2015 it is possible to select which version of the C# language is being coded in, as shown here.
I\'m looking for the same option for VB.NET - how c
If you're using ReSharper it turns out this is an option:
I haven't tested how well this works.