title: How can I print using arrays?
body: <p>in C # I have to print an array of symbols until fat meal may delay such a thing OOO through a function I have to put the 'X' in a box of my choice. If I run the cycle, however, filled me with X across the row or column. How can I fix without two-dimensional arrays?</p>
  
  <pre><code>  OOO
    OXO
    OOO
  </code></pre>
  
  <p>My code:</p>
  
  <pre><code>static private void printArr(ref byte tail, byte[]bitmask)
  {
      for (int i = 0; i &lt; 3; i++)
      {
          Console.Write('\n');
  
          for (int j = 0; j &lt; 3; j++)
          {
              if (change(cas, bitmask[i]) == true)
              {
                  Console.Write('O');
              }
              else
                  Console.Write('X');
          }
      }
  }
  </code></pre>