title: What's the easiest way to create an Excel table with C#?
body: <p>I have some tabular data that I'd like to turn into an Excel table.</p>
  
  <p>Software available:</p>
  
  <ul>
  <li>.NET 4 (C#)</li>
  <li>Excel 2010 (using the Excel API is OK)</li>
  <li>I prefer not to use any 3rd party libraries</li>
  </ul>
  
  <p>Information about the data:</p>
  
  <ul>
  <li>A couple million rows</li>
  <li>5 columns, all strings (very simple and regular table structure)</li>
  <li>In my script I'm currently using a nested List data structure but I can change that</li>
  <li>Performance of the script is not critical</li>
  </ul>
  
  <p>Searching online gives many results, and I'm confused whether I should use OleDb, ADO RecordSets, or something else. Some of these technologies seem like overkill for my scenario, and some seem like they might be obsolete.</p>
  
  <p>What is the very simplest way to do this?</p>
  
  <p><strong>Edit</strong>: this is a one-time script I intend to run from my attended desktop.</p>