title: C# Switch with String.IsNullOrEmpty
body: <p>Is it possible to have a switch in C# which checks if the value is null or empty not "" but <code>String.Empty</code>? I know i can do this:</p>
  
  <pre><code>switch (text)
  {
      case null:
      case "":
          break;
  }
  </code></pre>
  
  <p>Is there something better, because I don't want to have a large list of IF statements?</p>
  
  <p>I'mm trying to replace:</p>
  
  <pre><code>if (String.IsNullOrEmpty(text))
      blah;
  else if (text = "hi")
      blah
  </code></pre>