title: how to do a contains on an array of strings?
body: <p>I am using a predicate builder class and I need to invoke the contains method on an array of strings so in the code below instead of radio I would be passing in an array of strings:</p>
  
  <pre><code>wherePredicate = wherePredicate.Or(m =&gt; m.MediaType.Contains("Radio"));
  </code></pre>
  
  <p>the full code section:</p>
  
  <pre><code>if (param.iMediaGroupID &gt; 0)
  {
      var wherePredicate = PredicateBuilder.False&lt;MediaChannelModel&gt;();
  
      var ss = new NeptuneRepository&lt;Lookup_MediaTypes&gt;();
      var mediagroups = ss.FindWhere(m =&gt; m.MediaGroupID == param.iMediaGroupID).Select(m =&gt; m.Name);
      //problem area
      wherePredicate = wherePredicate.Or(m =&gt; mediagroups.Contains(m.MediaType));
      predicate = predicate.And(wherePredicate);
  }
  </code></pre>
  
  <p><code>mediaGroups</code> is: <code>["Radio","Tv","Magazine"]</code></p>
  
  <p>If <code>m.MediaType</code> is any of these values then the predicate is true.</p>
  
  <p>Is there a way to do this in C#?</p>