Exemplo n.º 1
0
        static void Main(string[] args)
        {
            /*int x1 = 3;
             * int y1 = 5;
             * char sym1 = '*';
             *
             * Draw(x1, y1, sym1);*/

            point p1 = new point();

            p1.x   = 1;
            p1.y   = 3;
            p1.sym = '*';
            p1.Draw();

            point p2 = new point();

            p2.x   = 5;
            p2.y   = 9;
            p2.sym = '#';
            p2.Draw();

            /*int x2 = 1;
             * int y2 = 10;
             * char sym2 = '*';
             *
             * Draw(x2, y2, sym2);*/

            Console.ReadLine();
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            point p1 = new point(1, 3, '*');
            p1.Draw();

            point p2 = new point(4, 5, '#');
            p2.Draw();

            Console.ReadLine();
        }
Exemplo n.º 3
0
        static void Main(string[] args)
        {
            point p1 = new point();
            p1.x = 1;
            p1.y = 3;
            p1.sym = '*';
            p1.Draw();

            point p2 = new point();
            p2.x = 4;
            p2.y = 5;
            p2.sym = '#';
            p2.Draw();

            Console.ReadLine();
        }