title: C# Switch results to list then to comma separated values
body: <p>How would I make a switch statement populate a list, or comma delimited string?</p>
  
  <p>For example</p>
  
  <pre><code>switch(test)
  {
     case 0:
        "test"
        break;
     case 1:
        "test2"
        break;
     case 2:
        "test3"
        break;
  }
  </code></pre>
  
  <p>So my program will go into this statement multiple times. So lets say it goes in there twice and has case 2 and case 1. I woulld like a string value containing the following:
  string value = "test3, test2"</p>