title: how to check if List<T> element contains an item with a Particular Property Value
body: <pre><code>public class PricePublicModel
  {
      public PricePublicModel() { }
  
      public int PriceGroupID { get; set; }
      public double Size { get; set; }
      public double Size2 { get; set; }
      public int[] PrintType { get; set; }
      public double[] Price { get; set; }
  }
  
  List&lt;PricePublicModel&gt; pricePublicList = new List&lt;PricePublicModel&gt;();
  </code></pre>
  
  <p>How to check if element of <code>pricePublicList</code> contains certain value. To be more precise, I want to check if there exists <code>pricePublicModel.Size == 200</code>? Also, if this element exists, how to know which one it is?</p>
  
  <p>EDIT If Dictionary is more suitable for this then I could use Dictionary, but I would need to know how :) </p>