title: 'string[]' does not contain a definition for 'Contains'
body: <p>The full error code:</p>
  
  <blockquote>
    <p>Error CS1929  'string[]' does not contain a definition for 'Contains' and
    the best extension method overload
    'Queryable.Contains(IQueryable, TSource)' requires a
    receiver of type 'IQueryable'</p>
  </blockquote>
  
  <pre><code>  string[] terms = new string[31];
  </code></pre>
  
  <p>I'm trying to see if an array contains something in my Excel file. (Using Interop)</p>
  
  <pre><code>if (terms.Contains(xlWorkSheet.Cells[1, i1 + 1].Value.ToString())) ;
  {
  
  }
  </code></pre>
  
  <p>Why is Contains not working here? </p>
  
  <p>I searched and apparently, it has something to do with the type not being the same, but in this case, it is. They are both strings.</p>