title: C# Something faster than Console.Write()?
body: <p>I am making a game and Redrawing the playfield isn't that nice with Console.Write() is there any way that I can rewrite the whole field faster without making it look "laggy"? Pretty much everything in the playfield is moving, but there are objects only at elements different than 0.. (You can check the full code here <a href="http://pastebin.com/TkPd37xD">http://pastebin.com/TkPd37xD</a> and see what I am talking about if my description is not enough)</p>
  
  <pre><code>for (int Y = 0; Y &lt; playfield.GetLength(0); Y++)
  {
      for (int X = 0; X &lt; playfield.GetLength(1); X++)
      {
          //destroying the row when it reaches the top
          if (playfield[0, X] != 0)
          {
              for (int i = 0; i &lt; playfield.GetLength(1); i++)
              {
                  playfield[0, X] = 0;
                  Console.SetCursorPosition(X, 0);
                  Console.Write(" ");
              }
          }
          if (playfield[Y, X] == 3)
          {
              playfield[Y - 1, X] = 3;
              playfield[Y, X] = 0;
          }
          else if (playfield[Y, X] == 1)
          {
              Console.SetCursorPosition(X, Y - 1);
              Console.Write("=");
              playfield[Y - 1, X] = 1;
              Console.SetCursorPosition(X, Y);
              Console.Write(" ");
              playfield[Y, X] = 0;
          }
          else if (playfield[Y, X] == 0)
          {
              Console.SetCursorPosition(X, Y);
              Console.Write(" ");
          }
      }
  }
  </code></pre>