title: How to get specific properties from a list based on another list which contains properties name
body: <p>It could be basic concept but i am not able to make it happen.</p>
  
  <pre><code>public class ClassA
  {
  
      public String firstName { get; set; }
      public String lastName { get; set; }
      public int employeeID{ get; set; }
      public decimal salary { get; set; }
  }
  
  data in List A = List&lt;ClassA&gt; :
  
   firstName | lastName |employeeID | salary
   John      | Smith    | 123       |$400
   Emila     | Johnson  | 124       |$500
  </code></pre>
  
  <p>I want to select few properties from List A based on the data in List B.</p>
  
  <pre><code>public class ClassB
  {
  
      public String column{ get; set; }
      public String coulmnName{ get; set; }
  }
  
  data in List B  = List&lt;ClassB&gt; 
  
       column   | coulmnName
      firstName | First Name
      lastName  | Last Name
  </code></pre>
  
  <p>So Finally by using List A and List B (I need properties which exist in List B and i need to change property name as columnName of List B.)</p>
  
  <pre><code>Final data:
  
   First Name | Last Name 
   John       | Smith
   Emila      | Johnson
  </code></pre>