title: Select JSON element greater than 0 to a list
body: <p>I have a Json string from which I want to select and add to a list the elements "initialUnits" with a value greater than 0.
  How can I convert "x => x.initialUnits" to integer, so that I am able to test if it a positive or negative value.</p>
  
  <p>I tried "Int32.Parse(x => x.initialUnits)" it gives the error "Cannot convert lambda expression to type 'string' because it is not a delegate type".
  Or is there an another way to accomplish this?</p>
  
  <pre><code>var resultOpTrades = JsonConvert.DeserializeObject&lt;RootObject&gt;(Jsontrades);
  var Sellopentradeslist = resultOpTrades
                              .trades
                              .Where(x =&gt; x.initialUnits &gt; 0)
                              .Select(p =&gt; p.price)
                              .ToList()
                              .Select(s =&gt; Math.Round(Convert.ToDouble(s), 4))
                              .ToList();
  </code></pre>