title: Using a boolean to access array indices
body: <p>I have a <code>boolean</code> variable, and depending on this variable I want to order an array.</p>
  
  <p>So I have two lists:</p>
  
  <pre><code>string[] radiant_players = new string[5];
  string[] dire_players = new string[5];
  </code></pre>
  
  <p>and a <code>boolean</code> radiant_wins.</p>
  
  <p>I want to make an array which orders these lists depending on whether radiant won or not, so:</p>
  
  <pre><code>string[][] games = new string[2][]
  games[radiant_wins]=radiant_players;
  games[!radiant_wins]=dire_players;
  </code></pre>
  
  <p>Right now I have radiant_wins as an integer taking values 0 and 1, but I want to use this sort of <code>boolean</code> structure so that I can access the two possible values.</p>
  
  <p>(also, for some reason the % 2 operator isn't working?)</p>