Is it possible to use C# 4.0 with Visual Studio 2008?

前端 未结 2 1286
南笙
南笙 2020-12-20 17:21

I\'m pretty aware that Visual Studio 2010 works with C# 4.0. But now I was wandering if I\'m able to test C# 4.0 features with Visual Studio 2008.

I did that one tim

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-20 17:48

    The 3.0 and 3.5 .NET libraries were just add-ons to 2.0. So it ws possible to test work done in VS 2008 using VS 2005 if you didn't use any 3.0 or 3.5 features.

    My understanding is that the 4.0 is entirely new libraries, so I doubt you will be able to load or use them in VS 2008/2005.

提交回复
热议问题