title: Converting strings to Object types in runtime
body: <p>I have a class, something simple like</p>
  
  <pre><code>class Example
  {
      uint id;
      ushort value1;
      string value2;
      DateTime timestamp;
   }
  </code></pre>
  
  <p>I also have a csv, like:</p>
  
  <pre><code>id;value1;value2;timestamp
  5;0x2313;whatever;2012-12-23-12:14:34,567
  6;0x2A14;something;2012-12-24:13:14:15:167
  </code></pre>
  
  <p>I would like to create objects based on the CSV, however the <em>real</em> class is a lot bigger and prone to change, so I would like to use reflection.
  I have some code getting the names of Properties and finding the corresponding string. What I don't get is, how I can convert the string to whatever type the Property is. I have found some code samples how to CAST the values, but casting a string to short is not what looks like a solution.</p>
  
  <p>Any ideas?</p>