Exemple #1
0
 public string ToString()
 {
     return("Created the line based on points " + PointA.ToString() + " and " + PointB.ToString());
 }
Exemple #2
0
 public override string ToString()
 {
     return(PointA.ToString() + " -> " + PointB.ToString());
 }
Exemple #3
0
 public override string ToString()
 {
     return($"Triangle: PointA({PointA.ToString()}), PointB({PointB.ToString()}), PointC({PointC.ToString()}) ");
 }