title: How to export list to excel without Microsoft.Office.Interop.Excel.dll
body: <p>I have list of foo as the below. How to export it to excel without <code>Microsoft.Office.Interop.Excel.dll</code></p>
  
  <pre><code>public class Foo
  {
      public DateTime Column1 { get; set; }
      public string Column2 { get; set; }
      public decimal Column3 { get; set; }
      public bool Column4 { get; set; }
  }
  </code></pre>