Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            //NewMethod1();
            //NewMethod();
            PointC pc = new PointC(41);

            Write(pc.Y + "\t" + pc.GetX());
            PointS ps = new PointS();

            ps.X = 20;
        }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            //NewMethod1();
            //NewMethod();
            PointC pc = new PointC(41);

            Write(pc.Y + "\t" + pc.GetX());
            PointS ps = new PointS();

            ps.X = 20;
            PointC pc5 = new PointC();
            PointC pc6 = new PointC(17, 19, "MyPaint", ConsoleColor.Green);

            WriteLine(pc5.X + "\t" + pc5.Y + "\t" + pc5.Name + "\t" + pc5.Color);
            WriteLine(pc6.X + "\t" + pc6.Y + "\t" + pc6.Name + "\t" + pc6.Color);
        }