title: How to count item in list<int>, which match with a value (true/false) in all records in another table in c# (better than with linq)
body: <p>I have data as below:</p>
  
  <p><img src="https://i.stack.imgur.com/5sK0n.png" alt="image"></p>
  
  <p>I also have list int <code>list Int = new List&lt;int&gt;(new int[] { 1, 2, 3, 13, 102 } );</code></p>
  
  <p>So, how to count elements in list int, what have <code>value == "AnswerId"</code> and have "<code>IsCorrected == true</code>" in picture table data by linq?</p>
  
  <p>The result will be 3.</p>