title: Convert row in Excel to custom entity
body: <p>In order to read data from an Excel sheet I'm using a third-party dll that has one method <code>GetCell</code> and its return type is <code>Object</code>. One row in the Excel sheet contains multiple columns so after reading one row I'm stuck with a lot of Objects. These objects should be the properties of a custom entity. For instance, if the Excel sheets has the two columns <code>Name</code> and <code>DateOfBirth</code>, then the values should map to the following Person entity</p>
  
  <pre><code>class Person{
  public string Name {get; set;}
  public DateTime DateOfBirth {get; set;}
  }
  </code></pre>
  
  <p>Is there a simple way of doing this conversion? Since I have to read many different Excel sheets, the conversion can not be hard-coded. <br/></p>