title: C# - LINQ Statements with OR clauses
body: <p>I am trying to use LINQ to return a list of tasks that are in one of three states. These states are:</p>
  
  <p>10 - Completed
  11 - Incomplete
  12 - Skipped</p>
  
  <p>The state is available through a property called "TaskStateID". I can do this in LINQ with just one state as shown here:</p>
  
  <pre><code>var filteredTasks = from task in tasks
                      select task;
  
  // Do stuff with filtered tasks
  
  string selectedComboBoxValue = GetFilterComboBoxValue();
  if (selected ComboBoxValue == 3)
  {
    filteredTasks = filteredTasks.Where(p =&gt; p.TaskStateID == 10); // How do I use an 'OR' here to say p.TaskStateID == 10 OR p.TaskStateID == 11 OR p.TaskStateID == 12
  }
  </code></pre>
  
  <p>As shown in the comment above, how do I use an 'OR' in a LINQ statement to say p.TaskStateID == 10 OR p.TaskStateID == 11 OR p.TaskStateID == 12?</p>
  
  <p>Thank you</p>