title: Format IEnumerable<double> while displaying in a console
body: <p>I have to format a collection of doubles to 2 decimal places and display it in a console app by seperating it with a comma (,).</p>
  
  <p>I have used the following:</p>
  
  <pre><code>var result = GetResults() //returns 1.234125, 3.56345, 6.43254
  
  Console.WriteLine(string.Join(",",result)
  </code></pre>
  
  <p>However this does not format the values to 2 decimal places. I'm looking to display 1.23,3.56,6.43 to the console. Also the elements in "result" collection could range for a few 1000 doubles.So I'm looking for an optimized piece of code which will not involve any boxing and will take the least time to display itself to the console.</p>
  
  <p>Thanks,
  -Mike</p>