title: ReSharper and var
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1873873/why-does-resharper-want-to-use-var-for-everything">Why does ReSharper want to use &#39;var&#39; for everything?</a>  </p>
  </blockquote>
  
  
  
  <p>I have ReSharper 4.5 and have found it invaluable so far but I have a concern;<br>
  It seems to want to make every variable declaration implicit (var).<br>
  As a relatively <em>new</em> developer, how much should I trust ReSharper when it comes to this? </p>
  
  <p>Take the below code snippet from a method that Paints Tab Headers.</p>
  
  <pre><code>TabPage currentTab = tabCaseNotes.TabPages[e.Index];
  Rectangle itemRect = tabCaseNotes.GetTabRect(e.Index);
  SolidBrush fillBrush = new SolidBrush(Color.Linen);
  SolidBrush textBrush = new SolidBrush(Color.Black);
  StringFormat sf = new StringFormat
  {
      Alignment = StringAlignment.Center,
      LineAlignment = StringAlignment.Center
  };
  </code></pre>
  
  <p>Resharper wants me to change all 5 of those to <em>var</em>. I have read the following similar post, <a href="https://stackoverflow.com/questions/41479/use-of-var-keyword-in-c">Use of var keyword in C#</a>, but I would like to know from a ReSharper standpoint.</p>