title: How to write an if statement for "a list does not contain a string"?
body: <p>The following IF statement checks if the ListexceptionCM contains the selected value of the dropdown list. </p>
  
  <pre><code>List&lt;string&gt; ExceptionCM = new List&lt;string&gt;;
  if(exceptionsCM.Any(s =&gt; ddl_model.SelectedValue.Contains(s)) )
  {
         //do something
  }
  
  List&lt;string&gt; ExceptionPM;
  List&lt;string&gt; ExceptionDL;
  List&lt;string&gt; ExceptionCL;
  </code></pre>
  
  <p>I would like to change the statement, so I can check if the the 4 list doesn't contains the selected value of dropdown. Could you help me ?</p>