title: Why does Enum.GetValues() return names when using "var"?
body: <p>Can anyone explain this?</p>
  
  <p><a href="http://www.deviantsart.com/upload/g4knqc.png">alt text http://www.deviantsart.com/upload/g4knqc.png</a></p>
  
  <pre><code>using System;
  
  namespace TestEnum2342394834
  {
      class Program
      {
          static void Main(string[] args)
          {
              //with "var"
              foreach (var value in Enum.GetValues(typeof(ReportStatus)))
              {
                  Console.WriteLine(value);
              }
  
              //with "int"
              foreach (int value in Enum.GetValues(typeof(ReportStatus)))
              {
                  Console.WriteLine(value);
              }
  
          }
      }
  
      public enum ReportStatus
      {
          Assigned = 1,
          Analyzed = 2,
          Written = 3,
          Reviewed = 4,
          Finished = 5
      }
  }
  </code></pre>