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!
I think go to the project properties window, then the ‘build’ tab, and click ‘advanced’, and there’s a way to set the language version. (Don’t have it handy now to verify it.)