title: Can switch case being used like a void method?
body: <p>Usually I will implement switch case in a method that return particular object. Something like below:</p>
  
  <pre><code>private string testing(string input){
      switch(input)
      {
          case "a":
          {
              ....
              return "TestingResult";
          }
          case "b":
          {
              ....
              return "TestingResultB";
          }
          default:
              return null;
      }
  }
  </code></pre>
  
  <p>Now I'm wondering if it's possible to write a switch case for value assignment purpose? Something like below:</p>
  
  <pre><code>private string testing(string input){
      string TEST="";
      switch(input)
      {
          case "a":
          {
              ....
              TEST = "TestingResult";
          }
          case "b":
          {
              ....
              TEST = "TestingResultB";
          }
          default:
      }
      return TEST;
  }
  </code></pre>
  
  <p>Of cause it can be achieve by simple If-Else statement, this question is for me to understand more functionality of switch case</p>
  
  <p>Of course, after testing it, I receive error</p>
  
  <pre><code>control cannot fall through from one case label('case: "a"') to another
  </code></pre>