title: Why does LINQPad dump enum integer values as strings?
body: <p>I was using LinqPad to test out some Enum functions and I didn't get integers like I expected when I used .Dump(). Why did the ToList() solve the problem?</p>
  
  <pre><code>void Main()
  {
      Enum.GetValues(typeof(Options)).Cast&lt;int&gt;().Dump();
      Enum.GetValues(typeof(Options)).Cast&lt;int&gt;().ToList().Dump();
  }
  
  public enum  Options 
  {
     Equal,
     LessThan,
     GreaterThan
  }
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/DOfYN.png" alt="enter image description here"></p>