title: Match String with the Class property Names
body: <p>I have a class with lets say 5 Properties</p>
  
  <pre><code>Int32 Property1;
  Int32 Property2;
  Int32 Property3;
  Int32 Property4;
  Int32 Property5;
  </code></pre>
  
  <p>Now I have to set the values of only 3 three of those properties dynamically. so far is OK but my issue is I get those three property Names as strings on runtime.
  Lets say, something like this..</p>
  
  <pre><code>List&lt;String&gt; GetPropertiesListToBeSet()
  {
     List&lt;String&gt; returnList = new List&lt;String&gt;();
     returnList.Add("Property1");
     returnList.Add("Property3");
     returnList.Add("Property4");
     retun returnList;
  }
  </code></pre>
  
  <p>So Now, </p>
  
  <pre><code> List&lt;String&gt; valuesList = GetPropertiesToBeSet();
  
   foreach (String valueToSet in valuesList)
   {
   // How Do I match these Strings with the property Names to set values
      Property1 = 1;
      Property3 = 2;
      Property4 = 3;
   }
  </code></pre>