title: Using var or not using var
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/356846/c-var-vs-specific-type-performance">C# &#39;var&#39; vs specific type performance</a>  </p>
  </blockquote>
  
  
  
  <p>Hi all,
  <br>I recently saw code that uses <code>var</code> a lot.
  <br>E.g.:</p>
  
  <pre><code>var myString = GetAnyString();
  var myInstance = GetClass();
  </code></pre>
  
  <p>instead of</p>
  
  <pre><code>string myString = GetAnyString();
  MyClass myInstance = GetClass();
  </code></pre>
  
  <p>Besides the readability (I think that using <code>var</code> is not very readable), are there any advantages and/or drawbacks using it? How about performance</p>