title: How to add an Array of strings to a Where clause
body: <p>I have the following method:-</p>
  
  <pre><code>public IQueryable&lt;ComponentDefinition&gt; GetProducts(string[] type)
          { return entities.ComponentDefinitions.Where(a =&gt; a.ComponentType.COMPONENTTYPENAME.ToLower() == type.ToLower());
  
          }
  </code></pre>
  
  <p>But i am not sure how i can add something such as, so the where will include the array of strings :-
   :-</p>
  
  <pre><code>public IQueryable&lt;ComponentDefinition&gt; GetProducts(string[] type)
              { return entities.ComponentDefinitions.Where(a =&gt; a.ComponentType.COMPONENTTYPENAME.ToLower() == type.ToLower().Any(type));
  
              }
  </code></pre>