Example #1
0
        static void Main(string[] args)
        {
            DemoPoint point = new DemoPoint(3, 4);
            DemoLine  line  = new DemoLine(point, new DemoPoint(-2, 0));

            line.Show();
        }
Example #2
0
 public DemoLine(DemoLine other)
 {
     this.firstPoint  = other.firstPoint;
     this.secondPoint = other.secondPoint;
 }