title: How do I check if a Guid value is inside a LIST of Structures?
body: <p>How do I check if a Guid value is inside a LIST of Structures?</p>
  
  <pre><code>public struct Info
  {
     public Guid EntityTypeID;
     public String Name;
  }
  
  
  List&lt;Info&gt; InfoList = &lt;function which populates the list of Struct&gt;
  ...
  
  var values = ctx.EntityValues.Where(v =&gt; v.EntityID == e.ID
                                 &amp;&amp; InfoList.Contains(v.EntityTypeItemID)).ToList(); &lt;=== problem here!
                  //or something like: InfoList[i].EntityTypeID.Contains(v.EntityTypeItemID)).ToList();
  </code></pre>
  
  <p>Thank you</p>