title: The var keyword not showing up in visual studio
body: <p>I've installed a new instance of visual studio 2010 premium and everything seems to work fine when I load old projects.  When I start to write new classes though, the var keyword is not working or showing up in intellisense.  This is a new solution and no web project. (so no web.config)  Target framework for the project is set to .net 4.0.  When I try compiling it by writing </p>
  
  <pre><code>var x = "this";
  </code></pre>
  
  <p>I get "A get or set accessor expected" error.</p>
  
  <p>Do I need to reinstall?  Any ideas what could be wrong here?</p>
  
  <p><img src="https://i.stack.imgur.com/kKwYQ.png" alt="enter image description here"></p>