title: get property name from generic list
body: <p>Environment: asp.net fx3.5</p>
  
  <p>given</p>
  
  <pre><code>public class Product
  {
      public int ProductId { get; set; }
      public string ProductName { get; set; }
      public decimal UnitPrice { get; set; }
  }
  </code></pre>
  
  <p>i have a <code>List&lt;Product&gt;</code> collection.</p>
  
  <p>is there a way to get the property names because i want them to be a header row in my csv file that i'm constructing?</p>
  
  <p>so the result i'm looking for is a <code>string = "ProductId,ProductName,UnitPrice"</code></p>