title: Multi-variable switch statement in C#
body: <p>I would like use a switch statement which takes several variables and looks like this:</p>
  <pre><code>switch (intVal1, strVal2, boolVal3)
  {
     case 1, &quot;hello&quot;, false:
        break;
     case 2, &quot;world&quot;, false:
        break;
     case 2, &quot;hello&quot;, false:
  
     etc ....
  }
  </code></pre>
  <p>Is there any way to do something like this in C#? (I do not want to use nested switch statements for obvious reasons).</p>
  <p>The question was answered by .net dev team by implementing of exactly this fearture: <a href="https://stackoverflow.com/questions/7967523/multi-variable-switch-statement-in-c-sharp/58191105#58191105">Multi-variable switch statement in C#</a></p>