title: Is this "move declaration closer to usage" really preferable?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/8535846/is-it-better-to-declare-a-variable-inside-or-outside-a-loop">Is it better to declare a variable inside or outside a loop?</a>  </p>
  </blockquote>
  
  
  
  <p>Resharper wants me to change this:</p>
  
  <pre><code>int Platypus;
  string duckBill1;
  string duckBill2;
  string duckBill3;
  . . .
  using (OracleDataReader odr = ocmd.ExecuteReader()) {
      while (odr.Read()) {
          Platypus = odr.GetInt32("Platypus");
          duckBill1 = odr.GetString("duckBill1");
          duckBill2 = odr.GetString("duckBill2");
          duckBill3 = odr.GetString("duckBill3");
          switch (Platypus) {
          . . .
  </code></pre>
  
  <p>...to this:</p>
  
  <pre><code>using (OracleDataReader odr = ocmd.ExecuteReader()) {
      while (odr.Read()) {
          int Platypus = odr.GetInt32("Platypus");
          string duckBill1 = odr.GetString("duckBill1");
          string duckBill2 = odr.GetString("duckBill2");
          string duckBill3 = odr.GetString("duckBill3");
          switch (Platypus) {
          . . .
  </code></pre>
  
  <p>...but in this way (it seems, at least, that) the vars are being declared N times, once for each time through the while loop. Is the Resharperized way really better than the original?</p>