title: VB.NET If-Else in List
body: <p>I just want to know if there's an approach in VB.NET that can find if a specific value exist on a list or something which can use in my If-else condition. What I'm doing now is to use this:</p>
  
  <pre><code>If ToStatus = "1CE" Or ToStatus = "2TL" Or ToStatus = "2PM" Then
      'Do something
  Else
      'Do something
  End If
  </code></pre>
  
  <p>This works fine, but how if I have hundreds of string to compare to <code>ToStatus</code> in the future? It will be a nightmare! Now, if such functionality exists, how can I add "And" and "Or" in the statement? </p>
  
  <p>Thanks in advance!</p>