title: Search for a list item attribute with another attribute value of the item
body: <p>I have a class like this:</p>
  
  <pre><code>class item   
  {
      public string itemID { get; set; }
      public string itemName { get; set; }
      public decimal itemPrice{ get; set; }
  }
  </code></pre>
  
  <p>I have a lists like this:</p>
  
  <pre><code>List&lt;item&gt; myItems = new List&lt;item&gt;();
  </code></pre>
  
  <p>I want to get the id of the item with minimum price.</p>
  
  <p>I get the minimum price like this:</p>
  
  <pre><code>var minprice = myItems.Min(itemobj =&gt; itemobj.itemPrice);
  </code></pre>
  
  <p>How can I get the Item ID of the object which is having minprice? Or in other words itemID of the object which is:</p>
  
  <pre><code>itemPrice == minprice;
  </code></pre>