Overload method error in c# console application
<p>I have a class that creates a Box that have different colors on the border. I get an error on my code that says "No overload for method 'SetCursorPosition' takes 3 arguments. Here is my code:</p>

<pre><code>class TitledBox : ColoredBox
{
    private string title;
    private ConsoleColor titleColor;

    public TitledBox(Point p, int width, int height, ConsoleColor backColor, string title, ConsoleColor titleColor)
        : base(p, width, height, backColor)
    {
        if (title.Length &gt; width)
            this.title = title.Substring(0, width);
        else
            this.title = title;

        this.titleColor = titleColor;
    }

    public override void Draw()
    {
        for (int j = 0; j &lt; height; j++)
        {
            Console.SetCursorPosition(p.X, p.Y, + j);
            Console.BackgroundColor = backColor;
            if  ( j == 0)    
            {
                Console.ForegroundColor = titleColor;
                Console.Write(title);
               for (int i = 0; i &lt; width - title.Length; i++)
               {
                   Console.Write(' ');
               }
            }
            else
            {
                for (int i = 0; i &lt; width; i++)
                Console.Write(' ');
            }
        }
    }

}
</code></pre>

<p>Any ideas on what I'm doing wrong? </p>
