title: C# console application generate CSV
body: <p>I have a function that returns a <code>File</code>. The file is created by a String, like this:</p>
  
  <p>return File(System.Text.Encoding.Default.GetBytes(data.getCSV()), "text/csv", "Report.csv");</p>
  
  <p>How can i generate this File to a .csv file in my folder?</p>