title: Get property name and type using lambda expression
body: <p>I am trying to write a function that will pull the name of a property and the type using syntax like below:</p>
  
  <pre><code>private class SomeClass
  {
      Public string Col1;
  }
  
  PropertyMapper&lt;Somewhere&gt; propertyMapper = new PropertyMapper&lt;Somewhere&gt;();
  propertyMapper.MapProperty(x =&gt; x.Col1)
  </code></pre>
  
  <p>Is there any way to pass the property through to the function without any major changes to this syntax?</p>
  
  <p>I would like to get the property name and the property type.</p>
  
  <p>So in the example below i would want to retrieve </p>
  
  <p><code>Name = "Col1"</code> and <code>Type = "System.String"</code></p>
  
  <p>Can anyone help?</p>