With Visual Studio 2014, can I write C# 6 code to build for .NET Framework 4? We're limited to .NET 4 by our clients, but we'd still like to use the new language features of C# 6 such as the operator .?
and the nameof
keyword.
Asked
Active
Viewed 114 times
1

Colonel Panic
- 132,665
- 89
- 401
- 465
-
Why not just install the developer preview for VS 2014 and find out? – Nzall Oct 02 '14 at 09:25
-
See also http://stackoverflow.com/questions/28921701/does-c-sharp-6-0-work-for-net-4-0 – Colonel Panic May 13 '15 at 10:37