title: Use string as a property in lambda expression c#
body: <p>I have a method which I pass string and a list in to. What I'm trying to achieve is to convert the string into lambda expression property.</p>
  
  <pre><code>private someMethod(string myTypeString, List&lt;Values&gt; typeList)
  {
      foreach(var type in typeList.Where(x =&gt; x."myTypeString" &gt; DateTime.Now))
      {
          //do my loop
      }
  }
  </code></pre>
  
  <p>Is there a way to do that?</p>