title: How to Iterate through IEnumerable with Unknown Properties
body: <p>I have an many different <code>IEnumerable&lt;T&gt;</code>'s that have numerous properties of various types. I would like to be able to iterate through each property under the IEnumerable. </p>
  
  <p>Example Idea:</p>
  
  <pre><code>var data = someSource.First();
  data.ForEach(o =&gt; DoStuff(o));
  </code></pre>
  
  <p>Unfortunately I cannot find a way to do this, currently I am having to know the name of the property to be able to access it.</p>
  
  <p>Any help would be greatly appreciated.</p>
  
  <p><strong>Further Clarification:</strong>
  I am using ADO.NET/Entity Framework with MySQL, I have a MySQL Database Table with the following format: <a href="http://pastebin.com/P51hURaj" rel="nofollow">http://pastebin.com/P51hURaj</a></p>
  
  <p>It consists of 60 Labels and 60 Types for those Labels. </p>
  
  <pre><code>using (var connection = new hyperion_collectionsmaxEntities())
  {
      var customs = connection.customs.First();
  
      //connection.customs is a DbSet&lt;custom&gt;
      //custom is defined as: http://pastebin.com/XW8pfzbD
  
      //Need to Iterate through Customs, Ex:
      //var custom1 = customs.label1; Through 60!?
  }
  </code></pre>
  
  <p>I need to output all 60 customs into a ListBox via AddStatus(custom*);</p>