Visual C# Express 2010: how to set language to C# 2.0

Posted by luqui on Stack Overflow See other posts from Stack Overflow or by luqui
Published on 2010-06-15T03:56:45Z Indexed on 2010/06/15 4:02 UTC
Read the original article Hit count: 216

Filed under:
|
|

I am using Visual C# Express 2010 to develop an application for the Unity3D game engine, which only supports C# 2.0. That is, I am only using it to edit code, but the compilation is done by Unity.

I'm wondering if there is a way to configure Visual C# to edit C# 2.0, so that, for example, it yells if I (out of habit) try to use a var declaration or foo => bar function. Thanks!

© Stack Overflow or respective owner

Related posts about c#

Related posts about visual-studio-2010