Example #1
0
        static void Main()
        {
            //console window size
            SetWindowSize(100, 55);
            SetBufferSize(100, 55);
            ForegroundColor = ConsoleColor.Black;
            BackgroundColor = ConsoleColor.Magenta;
            Clear();

            //declare point coordinates
            //drawing point coordinates
            //drawing borders
            HorizontalLine newPoint1 = new HorizontalLine(0, 99, 0, Convert.ToChar("\u2588"));

            newPoint1.DrawHorizontalLine();

            VerticalLine newPoint2 = new VerticalLine(0, 54, 0, Convert.ToChar("\u2588"));

            newPoint2.DrawVerticalLine();

            HorizontalLine newPoint3 = new HorizontalLine(0, 99, 52, Convert.ToChar("\u2588"));

            newPoint3.DrawHorizontalLine();

            VerticalLine newPoint4 = new VerticalLine(0, 53, 99, Convert.ToChar("\u2588"));

            newPoint4.DrawVerticalLine();



            ReadLine();
        }