title: Use string.Contains() with switch()
body: <p>I'm doing an C# app where I use </p>
  
  <pre><code>if ((message.Contains("test")))
  {
     Console.WriteLine("yes");
  } else if ((message.Contains("test2"))) {
     Console.WriteLine("yes for test2");
  }
  </code></pre>
  
  <p>There would be any way to change to <code>switch()</code> the <code>if()</code> statements?</p>