Пример #1
0
 public override string ToString()
 {
     return($"Square: Top Left Point({TopLeftPoint.ToString()}), Edge {Edge}");
 }
Пример #2
0
 public override string ToString()
 {
     return($"Rectangle: Top Left Point({TopLeftPoint.ToString()}), Height {Height}, Width {Width}");
 }