title: Using Contains with List of String?
body: <p>I have below code </p>
  
  <pre><code>var project = db.Projects.FirstOrDefault(x =&gt; projectIds.Contains(x.ProjectId));
  </code></pre>
  
  <p>If <code>projectIds</code> is a <code>List&lt;string&gt;</code> contains "1234567", and <code>x.ProjectId</code> is <strong>"1234"</strong>, it will return project has <code>ProjectId</code> is <strong>1234</strong>.</p>
  
  <p>How can I get exactly project if its' <code>ProjectId</code> is <strong>"1234567"</strong>?</p>
  
  <p>Thank for your support!</p>