954,514 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Is C# 3.0 compatible with Visual Studio 2010

The title is pretty much self-explanatory. What I want to know is will I be able to program in VS 2010 and the .NET 4.0 platform using C# 3.0

Thanks in advance!!

Lazarevsky
Newbie Poster
10 posts since Aug 2010
Reputation Points: 10
Solved Threads: 1
 

Your question is actually a little vague.

You can program in 2010 and use C# 3.0 syntax. More than likely, it will compile just fine; but, by default your executable will target the .NET 4.0 runtime, and any machine you deploy to will have to have that framework installed.

Also, you can use VS2010 to "target" a different runtime-- ie, use 2010, but say, target for .NET 2.0 or 3.5. Check this post out:

http://weblogs.asp.net/scottgu/archive/2009/08/27/multi-targeting-support-vs-2010-and-net-4-series.aspx

alc6379
Cookie... That's it
Team Colleague
2,820 posts since Dec 2003
Reputation Points: 186
Solved Threads: 147
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You