title: Combination generator in C#
body: <p>I'm creating a game in which fight is based on combination system. You've got to pick 2 out of 5 randomly generated actions like weak attack, block or dodge etc.
  These 2 actions you picked generate combo with diffrent results.</p>
  
  <p>I'm working on algorythm that performs these actions and I'm wondering, if there is any better way to do so other than using switch cases.</p>
  
  <p>By now i got something like this:</p>
  
  <pre><code>void comboEffect(int firstAction, int secondAction) 
  // weak attack = 1; strong attack = 2 etc
  {
      switch (firstAction)
      {
          case 1:
               switch (secondAction)
               {
                     case 1: 
                     // execute 11 combo (weak attack + weak attack)
                     break;
  
                     case 2:
                     // execute 12 combo (weak attack + strong attack)
                     break;
  
                     ... etc
              }
          break;
  
          case 2:
               switch (second action)
               {
                     case 1:
                     // execute 21 combo
                     ... etc
  }
  </code></pre>