title: Save List<string> and List<double> to a .txt file's specific column
body: <p>I have a C# WinForm application that has many <code>List&lt;string&gt;</code> and <code>List&lt;double&gt;</code>. I need to create a new .txt file and save each <code>List&lt;&gt;</code> to a specific column of the text file. </p>
  
  <p>I tried WriteAllLines function but it write one <code>List&lt;&gt;</code>. </p>
  
  <p>I also tried to create an Excel file so I can specify which column I want the <code>List&lt;&gt;</code> save to. But I have a hard time to save the temporary excel file as a .txt file. </p>
  
  <p>I know this code can save an existing excel file as a PDF, but similar functions that save the excel as a text file doesn't exist. </p>
  
  <pre><code>NewExcelWorkBook.ExportAsFixedFormat(Excel.XlFixedFormatType.xlTypePDF, "Holdings in BE Import Format.txt", Excel.XlFixedFormatQuality.xlQualityStandard, true,
                                                            false, 1, 10, true);
  </code></pre>
  
  <p>Please tell me a way to write multiple <code>List&lt;&gt;</code> to specific .txt file column, or you can tell me how to save the excel file as a .txt file. Skipping the temporary excel file would be ideal, but this solution is acceptable if writing to .txt directly is hard. </p>
  
  <p>Thank you so much!</p>