title: My draw method doesn't draw the height
body: <p>I have a draw method that should draw out a box, but my problem is that it only draws out the width of the box, not the height. </p>
  
  <p>Here's a code snippet:</p>
  
  <pre><code>class ColoredBox : Box
  {
      protected ConsoleColor backColor;
  
      public ColoredBox(Point p, int width, int height, ConsoleColor backColor)
          : base(p, width, height)
  
      {
          this.backColor = backColor;
      }
  
      public virtual void Draw()
      {
          for (int j = 0; j &lt; height; j++)
          {
              Console.SetCursorPosition(p.X, p.Y);
              Console.BackgroundColor = backColor;
              for (int i = 0; i &lt;= width; i++)
                  Console.Write(' ');
      }
  }
  </code></pre>
  
  <p>The issue seem to be the <code>Draw()</code> method and that I can't print it out, so how can I fix this simple issue?</p>