title: Passing multiple arguments to Predicate<T>
body: <p>I am calling a filtering method that accepts parameter Predicate T</p>
  
  <pre><code>void MethodName(Predicate&lt;T&gt; param)
  {
  }
  
  x.MethodName(x =&gt; x.SomeProperty == 10); // or
  x.MethodName(delegate(MyClass x) {return x.SomeProperty == 10;});
  </code></pre>
  
  <p>The problem is that I need to be able to filter on several different values, and the number of values is unknow. Example with 3 values ouwld be</p>
  
  <pre><code>x.MethodName(x =&gt; x.SomeProperty == 10 || x =&gt; x.SomeProperty == 20); // or
  x.MethodName(delegate(MyClass x) {return x.SomeProperty == 10 || x.SomeProperty == 20;});
  </code></pre>
  
  <p>Can I make it work with uknown number of possible values? This would be greate, but its not possilbe :)</p>
  
  <pre><code>x.MethodName(x =&gt; x.SomeProperty == {10, 20});
  </code></pre>