title: Which int type does var default to?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/5820721/c-sharp-short-long-int-literal-format">C# short/long/int literal format?</a>  </p>
  </blockquote>
  
  
  
  <p><a href="http://msdn.microsoft.com/en-us/library/vstudio/bb384061.aspx%20" rel="nofollow noreferrer">Reading</a> up on the use of <code>var</code> in programming, I'm curious about what var defaults to when it's used for an <code>int</code> type.  For example, if I use</p>
  
  <p><code>var foo = 65535</code></p>
  
  <p>will the type be <code>ushort</code> or just <code>int</code>?  Thanks.</p>